#! /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 " 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"