summaryrefslogtreecommitdiffstats
path: root/sandbox/meta/install
diff options
context:
space:
mode:
authoreuer <root@euer.krebsco.de>2012-12-20 17:35:31 +0100
committereuer <root@euer.krebsco.de>2012-12-20 17:35:31 +0100
commit97bd0fe6fd64ba77e9bcf092f6f84301d2953bae (patch)
treece087d9fc993b5591e4cc13f1b627bb411d44dab /sandbox/meta/install
parenta2f418e3b0ff8b452ca1893ab29d2cde75079189 (diff)
//meta -> //sandbox/meta
Diffstat (limited to 'sandbox/meta/install')
-rwxr-xr-xsandbox/meta/install25
1 files changed, 25 insertions, 0 deletions
diff --git a/sandbox/meta/install b/sandbox/meta/install
new file mode 100755
index 00000000..07096b34
--- /dev/null
+++ b/sandbox/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 " ln -vsn $update /update"
+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 " /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"