summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xmeta/install5
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/install b/meta/install
index 6bb04fec..b74b7f02 100755
--- a/meta/install
+++ b/meta/install
@@ -3,7 +3,7 @@ set -euf
cd $(dirname $(readlink -f $0))
-id=`ls -lnd . | awk '{print$3}'`
+id=`ls -ld . | awk '{print$3}'`
update=$PWD/bin/update
echo "#"
@@ -19,8 +19,9 @@ if test -e /update; then
ls -l /update
fi
-if test `id -u` != $id; then
+if test `id -un` != $id; then
echo "# and remember to allow yourself to sudo -u $id /update"
+ echo "# i.e. add `id -un` ($id) NOPASSWD:/update"
fi
echo "#^D"