From f787109d0cb4934448c19dbf842b4777e3b4e42b Mon Sep 17 00:00:00 2001 From: "rieger::CLOUD" Date: Thu, 20 Sep 2018 20:51:05 +0200 Subject: [PATCH] More flexible You will be asked for the database name either. At least the overwrite url is set by occ command. --- install-nextcloud.sh | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/install-nextcloud.sh b/install-nextcloud.sh index 6095c06..8802a63 100644 --- a/install-nextcloud.sh +++ b/install-nextcloud.sh @@ -294,6 +294,10 @@ echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ echo "The Nextcloud-DB username and password - Attention: password is case-sensitive:" echo "++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++" echo "" +read -p "Nextcloud DB-Name: " NEXTCLOUDDBNAME +echo "" +echo "Your Nextcloud DB Name: "$NEXTCLOUDDBNAME +echo "" read -p "Nextcloud DB-Username: " NEXTCLOUDDBUSER echo "" echo "Your Nextcloud-DB user: "$NEXTCLOUDDBUSER @@ -307,9 +311,9 @@ echo "" ###restart MariaDB server andconnect to MariaDB service mysql restart && mysql -uroot <