Merge pull request #150 from linuxserver/occ

Fix occ alias
This commit is contained in:
chbmb
2020-06-03 19:16:06 +01:00
committed by GitHub
+1 -1
View File
@@ -2,7 +2,7 @@
## Set alias for occ and make executable
[[ ! -f /usr/bin/occ ]] && \
echo -e '#!/bin/bash\nsudo -u abc php7 /config/www/nextcloud/occ' > /usr/bin/occ
echo -e '#!/bin/bash\nsudo -u abc -s /bin/bash -c "php7 /config/www/nextcloud/occ $*"' > /usr/bin/occ
[[ ! -x /usr/bin/occ ]] && \
chmod +x /usr/bin/occ