From f287ca3b6cf42fb727cc33a330b1522361fd41a4 Mon Sep 17 00:00:00 2001 From: jkaberg Date: Mon, 11 Aug 2014 23:01:18 +0200 Subject: [PATCH] dont replace owncloud config if it exists (we dont want this as it will contain vital data) --- setup/owncloud.sh | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/setup/owncloud.sh b/setup/owncloud.sh index 76395d7e..ecc74bba 100644 --- a/setup/owncloud.sh +++ b/setup/owncloud.sh @@ -23,11 +23,10 @@ if [ ! -d /usr/local/lib/owncloud ]; then fi # Create a configuration file. -cat - > /usr/local/lib/owncloud/config/config.php < /usr/local/lib/owncloud/config/config.php < '$STORAGE_ROOT/owncloud', \ array ( @@ -41,7 +40,9 @@ cat - > /usr/local/lib/owncloud/config/config.php < EOF +fi # TODO: Insert the following above (owncloud config generation) when we found a good solution: # 'mail_smtpmode' => 'smtp',