From d45b32b57b564b95b97b0d4ad90a2348429c1701 Mon Sep 17 00:00:00 2001 From: Dominique Roux Date: Thu, 28 Feb 2019 15:53:45 +0100 Subject: [PATCH] [BUGFIX] there was a typo, so the if for the do-not-rerun-if-already-installed check did not work correctly --- gencode-remote | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gencode-remote b/gencode-remote index 632b184..3aedb32 100755 --- a/gencode-remote +++ b/gencode-remote @@ -46,7 +46,7 @@ domain=$(cat "$__object/parameter/domain") # TODO check shasum of tar ball cat </dev/null -a \$(cd /var/www/nextcloud 2>/dev/null; sudo -u www.data php occ status 2>/dev/null | grep -o true) ]; then + if [ -d /var/www/nextcloud 2>/dev/null -a \$(cd /var/www/nextcloud 2>/dev/null; sudo -u www-data php occ status 2>/dev/null | grep -o true) ]; then echo "Nextcloud already installed" >&2 else echo "installing nextcloud" >&2