eesyphp/bin/items.wrapper
2020-04-18 00:51:33 +02:00

8 lines
151 B
Bash
Executable file

#!/bin/bash
if [ "$( id -u -n )" != "$( basename $0 )" ]
then
sudo -u $( basename $0 ) $0 $@
exit $?
fi
$( realpath -L $0|sed 's/\.wrapper$//' ) $@