From e5da50ca3a824809cae376ad96d0cb75b016ab95 Mon Sep 17 00:00:00 2001 From: David Beniamine <david.beniamine@tetras-libre.fr> Date: Fri, 18 Aug 2017 17:03:40 +0200 Subject: [PATCH] Fix updater channel and language --- installNextcloud.env | 4 +++- installNextcloud.sh | 1 - 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/installNextcloud.env b/installNextcloud.env index 35ad3c3..f05da99 100644 --- a/installNextcloud.env +++ b/installNextcloud.env @@ -13,7 +13,9 @@ echo -n "'trusted_domains' =>" echo -n "array(" echo -n "0 => 'localhost'," echo -n "1 => 'nextcloud.$DOMAIN'," -echo -n "),")" +echo -n ")," +echo -n "'updater.release.channel' => 'production'," +echo -n "'default_language' => 'fr',")" # Installer configuration nextcloud's OCC tools NEXTCLOUD_DATABASE="mysql" diff --git a/installNextcloud.sh b/installNextcloud.sh index bb1cc5e..f9318dd 100644 --- a/installNextcloud.sh +++ b/installNextcloud.sh @@ -331,7 +331,6 @@ sed -i.bak -e "/'trusted_domains'/,/),/d; s@)@${sections})@; /array(/s@,@,\n@g;" \ -e 's/APCu/OC\\\\Memcache\\\\APCu/' \ - -e "s/^);$/ 'updater.release.channel' => 'production',\n);/" \ `pwd`/config.php echo "sed -i.bak \"/'trusted_domains'/,/),/d;" \ -- GitLab