From af58ce04faac0e73806e7a5ad9a2ad5262b459dd Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 6 Sep 2011 21:53:00 +0200 Subject: //meta/install: initial commit --- meta/install | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100755 meta/install diff --git a/meta/install b/meta/install new file mode 100755 index 00000000..db4412fe --- /dev/null +++ b/meta/install @@ -0,0 +1,26 @@ +#! /bin/sh +set -euf + +cd $(dirname $(readlink -f $0)) + +id=`ls -lnd . | awk '{print$3}'` +update=$PWD/bin/update + +echo "#" +echo "# to install metastatic automatization facility do following:" +echo "#" +echo +echo " sudo 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 -u` != $id; then + echo "# and remember to allow yourself to sudo -u $id /update" +fi + +echo "#^D" -- cgit v1.2.3