diff options
author | root <root@pigstarter.de> | 2013-11-05 13:24:42 +0100 |
---|---|---|
committer | root <root@pigstarter.de> | 2013-11-05 13:24:42 +0100 |
commit | 5e326f51c58e500285ea3daee91986ee1ea518eb (patch) | |
tree | 2b3eccf15e10e4331dcb2d01c9f53620d749f55f /.graveyard/meta/install | |
parent | ae627d2aa73ea6862af3985f1c07e95c6d493275 (diff) |
sandbox -> .graveyard
Diffstat (limited to '.graveyard/meta/install')
-rwxr-xr-x | .graveyard/meta/install | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/.graveyard/meta/install b/.graveyard/meta/install new file mode 100755 index 00000000..07096b34 --- /dev/null +++ b/.graveyard/meta/install @@ -0,0 +1,25 @@ +#! /bin/sh +set -euf + +cd $(dirname $(readlink -f $0)) + +id=`ls -ld . | awk '{print$3}'` +update=$PWD/bin/update + +echo "#" +echo "# to install metastatic automatization facility do following:" +echo "#" +echo +echo " [32mln -vsn $update /update[m" +echo +if test -e /update; then + echo "# but beware: you already have an /update like this:" + ls -l /update +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" |