eesyphp/bin/items.wrapper

9 lines
151 B
Text
Raw Normal View History

2020-04-18 00:51:33 +02:00
#!/bin/bash
if [ "$( id -u -n )" != "$( basename $0 )" ]
then
sudo -u $( basename $0 ) $0 $@
exit $?
fi
$( realpath -L $0|sed 's/\.wrapper$//' ) $@