blob: b74b7f025dd9ccae3d53e2bce20829251ee8c1de (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
#! /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
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 "#[35m^D[m"
|