From a5d1eaba085b120f1ab118d101d822c9ff1a00a4 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Wed, 4 Oct 2017 18:47:12 +0200 Subject: [PATCH] Update nextcloud_install_production.sh --- nextcloud_install_production.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/nextcloud_install_production.sh b/nextcloud_install_production.sh index b256f32e..79f83068 100644 --- a/nextcloud_install_production.sh +++ b/nextcloud_install_production.sh @@ -37,7 +37,12 @@ echo "If the field after ':' is blank you are probably running as a pure root us echo "It's possible to install with root, but there will be minor errors." echo echo "Please create a user with sudo permissions if you want an optimal installation." +if [[ $UNIXUSER == "ncadmin" ]] +then +sleep 0.1 +else run_static_script adduser +fi # Check Ubuntu version echo "Checking server OS and version..."