Fix updater.phar

This commit is contained in:
chbmb 2020-06-25 21:55:15 +01:00
parent 1a81e84750
commit 171c14cc43

View File

@ -9,7 +9,7 @@
## Set alias for updater.phar and make executable
[[ ! -f /usr/bin/updater.phar ]] && \
echo -e '#!/bin/bash\nsudo -u abc php7 /config/www/nextcloud/updater/updater.phar' > /usr/bin/updater.phar
echo -e '#!/bin/bash\nsudo -u abc -s /bin/bash -c "php7 /config/www/nextcloud/updater/updater.phar $*"' > /usr/bin/updater.phar
[[ ! -x /usr/bin/updater.phar ]] && \
chmod +x /usr/bin/updater.phar