Merge pull request #155 from linuxserver/updater.phar

Fix updater.phar
This commit is contained in:
j0nnymoe 2020-06-26 12:43:59 +01:00 committed by GitHub
commit 317756d873
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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