From 50bfdd43a2811e47771665178632bcf303b6bfd9 Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Fri, 13 Jul 2018 18:15:36 +0200 Subject: [PATCH] Bugfixes: - Manifest had some duplicated code - Manifest set the wrong distribution variable for the repository - Gencode-remote is still hacky, but works for the moment --- gencode-remote | 18 ++++++++++-------- manifest | 10 ++++------ 2 files changed, 14 insertions(+), 14 deletions(-) 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 <