summaryrefslogtreecommitdiffstats
path: root/meta/install
diff options
context:
space:
mode:
authortv <tv@xso>2011-09-06 22:23:57 +0200
committertv <tv@xso>2011-09-06 22:23:57 +0200
commitb2d997b47e52145c5119a6d71d00364ec231f3cc (patch)
tree0a3f5b277f8060020b4cc0ed692afd11aaf5d26b /meta/install
parent223af4b243b749a490f0698938e6655dc7ba67a4 (diff)
//meta/install: try do do it even better^_^
Diffstat (limited to 'meta/install')
-rwxr-xr-xmeta/install14
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/install b/meta/install
index b74b7f02..07096b34 100755
--- a/meta/install
+++ b/meta/install
@@ -12,16 +12,14 @@ echo "#"
echo
echo " ln -vsn $update /update"
echo
-echo "#"
-
if test -e /update; then
echo "# but beware: you already have an /update like this:"
ls -l /update
fi
-
-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 "# then check if you can execute following with your current user:"
+echo
+echo " /update"
+echo
+echo "# if not then add that user to your sudoers... maybe something"
+echo "# like this could work: `id -un` ALL=($id) NOPASSWD:/update"
echo "#^D"