diff options
author | tv <tv@xso> | 2011-09-06 22:23:57 +0200 |
---|---|---|
committer | tv <tv@xso> | 2011-09-06 22:23:57 +0200 |
commit | b2d997b47e52145c5119a6d71d00364ec231f3cc (patch) | |
tree | 0a3f5b277f8060020b4cc0ed692afd11aaf5d26b /meta/install | |
parent | 223af4b243b749a490f0698938e6655dc7ba67a4 (diff) |
//meta/install: try do do it even better^_^
Diffstat (limited to 'meta/install')
-rwxr-xr-x | meta/install | 14 |
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 " [32mln -vsn $update /update[m" 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 [32msudo -u $id /update[m" - echo "# i.e. add [32m`id -un` ($id) NOPASSWD:/update[m" -fi - +echo "# then check if you can execute following with your current user:" +echo +echo " [32m/update[m" +echo +echo "# if not then add that user to your sudoers... maybe something" +echo "# like this could work: [32m`id -un` ALL=($id) NOPASSWD:/update[m" echo "#[35m^D[m" |