- clean code
- added man.rst - ready for PR
This commit is contained in:
parent
c34c202a9c
commit
41e7518b49
3 changed files with 120 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue