Make sure that DISABLE_NEXTCLOUD is set to 0

This commit is contained in:
dkoao 2019-09-27 17:19:24 +00:00
parent 8b6b59be1e
commit 451df93cfe
1 changed files with 5 additions and 2 deletions

View File

@ -202,14 +202,17 @@ if [ ! -d $STORAGE_ROOT/owncloud ]; then
\nIt also offers other features like file sharing, gallery, todos, and more.\ \nIt also offers other features like file sharing, gallery, todos, and more.\
\n\nWould you like to disable it?"\ \n\nWould you like to disable it?"\
DISABLE_NEXTCLOUD DISABLE_NEXTCLOUD
fi else
if [ -d $STORAGE_ROOT/owncloud ]; then # Ask the user if he wants to remove Nextcloud
yesno_box "Remove Nextcloud?"\ yesno_box "Remove Nextcloud?"\
"It seems that you already have Nextcloud installed previous\ "It seems that you already have Nextcloud installed previous\
\n\nNextcloud offers the Contacts and Calendar features in Mail-in-a-box\ \n\nNextcloud offers the Contacts and Calendar features in Mail-in-a-box\
\nIt also offers other features like file sharing, gallery, todos, and more.\ \nIt also offers other features like file sharing, gallery, todos, and more.\
\n\nWould you like to remove it?"\ \n\nWould you like to remove it?"\
REMOVE_NEXTCLOUD REMOVE_NEXTCLOUD
if [ "${REMOVE_NEXTCLOUD}" == "0" ]; then
DISABLE_NEXTCLOUD="0"
fi
fi fi
# Show the configuration, since the user may have not entered it manually. # Show the configuration, since the user may have not entered it manually.
echo echo