From b2d997b47e52145c5119a6d71d00364ec231f3cc Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 6 Sep 2011 22:23:57 +0200 Subject: //meta/install: try do do it even better^_^ --- meta/install | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) (limited to 'meta') 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" -- cgit v1.2.3