Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/vm.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hansson <github@hanssonit.se>2020-09-12 08:11:40 +0300
committerGitHub <noreply@github.com>2020-09-12 08:11:40 +0300
commitb371ad178179da0139c6a8a49a261775b35e424e (patch)
tree9294128e0809c1b61fd1a5324c9db5fc4ad98b28 /nextcloud_install_production.sh
parent9adb4e422aa7f7be1b66e3a879d467a954c80807 (diff)
run locaes after fetch_lib is run
otherwise locales doesn't contain fetch_lib
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r--nextcloud_install_production.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh
index 41785a5c..174f9ede 100644
--- a/nextcloud_install_production.sh
+++ b/nextcloud_install_production.sh
@@ -68,9 +68,6 @@ debug_mode
# Check if root
root_check
-# Set locales
-run_script ADDONS locales
-
# Test RAM size (2GB min) + CPUs (min 1)
ram_check 2 Nextcloud
cpu_check 1 Nextcloud
@@ -80,6 +77,9 @@ mkdir -p "$SCRIPTS"
download_script STATIC fetch_lib
download_script GITHUB_REPO lib
+# Set locales
+run_script ADDONS locales
+
# Create new current user
download_script STATIC adduser
bash $SCRIPTS/adduser.sh "nextcloud_install_production.sh"