summaryrefslogtreecommitdiffstats
path: root/sandbox/meta
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2013-11-05 23:40:11 +0100
committermakefu <github@syntax-fehler.de>2013-11-05 23:40:11 +0100
commit940d07624c6b82d5e7ec790c2ef49b4694a48794 (patch)
tree3f4bb46333429d8e9a4f566579f82cacbd3096c9 /sandbox/meta
parentfe1017207310d0cfd6448750205d08b2455f20a2 (diff)
parent85c99011060b4b37a760fa24d0a0e23e83413bef (diff)
Merge branch 'master' of github.com:krebscode/painload
Diffstat (limited to 'sandbox/meta')
-rwxr-xr-xsandbox/meta/bin/update15
-rwxr-xr-xsandbox/meta/install25
2 files changed, 0 insertions, 40 deletions
diff --git a/sandbox/meta/bin/update b/sandbox/meta/bin/update
deleted file mode 100755
index 9b2289ad..00000000
--- a/sandbox/meta/bin/update
+++ /dev/null
@@ -1,15 +0,0 @@
-#! /bin/sh
-set -euf
-
-cd $(dirname $(readlink -f $0))/../..
-id=`ls -lnd . | awk '{print$3}'`
-
-if test "${nosudo-false}" != true -a `id -u` != $id; then
- echo "we're going sudo..." >&2
- exec sudo -u "#$id" "$0" "$@"
- exit 23 # go to hell
-fi
-
-echo "// is $PWD owned by $id"
-
-git pull
diff --git a/sandbox/meta/install b/sandbox/meta/install
deleted file mode 100755
index 07096b34..00000000
--- a/sandbox/meta/install
+++ /dev/null
@@ -1,25 +0,0 @@
-#! /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"