diff --git a/gencode-remote b/gencode-remote index 2e5082a..249539d 100755 --- a/gencode-remote +++ b/gencode-remote @@ -45,13 +45,15 @@ admin_pass=$(cat "$__object/parameter/admin-pass") domain=$(cat "$__object/parameter/domain") # TODO check shasum of tar ball -if [ -d /var/www/nextcloud -a \$(cd /var/www/nextcloud; sudo -u www-data php occ status | grep -o true) ]; then - INSTALL_STATE=true -else - INSTALL_STATE=false -fi -echo \${INSTALL_STATE} > /tmp/install-state -if [ "\$INSTALL_STATE" != "true" ]; then +# TODO: Make this Work!! +#if [ -d /var/www/nextcloud -a \$(cd /var/www/nextcloud; sudo -u www-data php occ status | grep -o true) ]; then +# INSTALL_STATE=true +#else +# INSTALL_STATE=false +#fi +#echo \${INSTALL_STATE} > /tmp/install-state +#if [ "\$INSTALL_STATE" != "true" ]; then +cat <