- clean code

- added man.rst
- ready for PR
This commit is contained in:
moep 2017-08-02 22:02:12 +02:00
commit 41e7518b49
3 changed files with 120 additions and 3 deletions

View file

@ -1,4 +1,4 @@
#!/bin/sh +x
#!/bin/sh
os=$(cat "$__global/explorer/os")
os_version=$(cat "$__global/explorer/os_version")
@ -53,8 +53,6 @@ admin_pass=$(cat "$__object/parameter/admin-pass")
domain=$(cat "$__object/parameter/domain")
# TODO check shasum of tar ball
# INSTALL_STATE="$([ -d /var/www/nextcloud ] && cd /var/www/nextcloud && sudo -u www-data php occ status| grep -o true)"
# if [ ! "\$INSTALL_STATE" ] || [ ! -z "\$INSTALL_STATE" ]; then
cat <<eof
INSTALL_STATE=\$([ -d /var/www/nextcloud ] && cd /var/www/nextcloud && sudo -u www-data php occ status| grep -o true)
if [ "\$INSTALL_STATE" != "true" ]; then