diff options
author | Daniel Hansson <daniel@techandme.se> | 2017-10-04 19:47:12 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-04 19:47:12 +0300 |
commit | a5d1eaba085b120f1ab118d101d822c9ff1a00a4 (patch) | |
tree | 34b2867b0ba14dd0231aee4c57849bcd6df7631e /nextcloud_install_production.sh | |
parent | 04acb76a09b0f064e45a3c2eceb37a3c68a1c043 (diff) |
Update nextcloud_install_production.sh
Diffstat (limited to 'nextcloud_install_production.sh')
-rw-r--r-- | nextcloud_install_production.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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..." |