mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
This reverts commit c8ab757ffe.
This commit is contained in:
parent
c8ab757ffe
commit
411da84e22
@ -153,7 +153,7 @@ Please create a user with sudo permissions and the run this command:
|
||||
sudo -u [user-with-sudo-permissions] sudo bash /var/scripts/nextcloud-startup-script.sh
|
||||
|
||||
We will do this for you when you hit OK."
|
||||
run_static_script adduser nextcloud-startup-script
|
||||
run_static_script adduser $SCRIPTS/nextcloud-startup-script.sh
|
||||
else
|
||||
msg_box "You probably see this message if the user 'ncadmin' does not exist on the system,
|
||||
which could be the case if you are running directly from the scripts and not the VM.
|
||||
|
||||
@ -66,7 +66,7 @@ ram_check 2 Nextcloud
|
||||
cpu_check 1 Nextcloud
|
||||
|
||||
# Create new current user
|
||||
run_static_script adduser nextcloud_install_production
|
||||
run_static_script adduser nextcloud_install_production.sh
|
||||
|
||||
# Check distrobution and version
|
||||
check_distro_version
|
||||
|
||||
@ -34,7 +34,6 @@ The preferred user is 'ncadmin'."
|
||||
do
|
||||
sudo passwd "$NEWUSER" && break
|
||||
done
|
||||
download_static_script "$1"
|
||||
sudo -u "$NEWUSER" sudo bash "$SCRIPTS"/"$1".sh
|
||||
sudo -u "$NEWUSER" sudo bash "$1"
|
||||
fi
|
||||
fi
|
||||
|
||||
Loading…
Reference in New Issue
Block a user