update_nextcloud.sh: ommit askint for 'ColaboraOnline' - Its not used/needed here.
This commit is contained in:
parent
6626385965
commit
2cf20e4294
@ -297,29 +297,29 @@ else
|
||||
echo_ok
|
||||
fi
|
||||
|
||||
if [[ "${os_dist,,}" = "debian" ]] ; then
|
||||
|
||||
declare -a dpkg_pkg_colabora_online=()
|
||||
check_package="loolwsd"
|
||||
if ! $(dpkg -l "$check_package" 2> /devnull | grep -q -E "^ii\s+${check_package}\s+" 2>/dev/null) ; then
|
||||
|
||||
echononl "Install ColaboraOnline App (yes/no) [yes]: "
|
||||
read OK
|
||||
while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do
|
||||
echononl "Wrong entry! - repeat (yes/no) [yes]: "
|
||||
read OK
|
||||
[[ -z "${OK,,}" ]] && OK="yes"
|
||||
done
|
||||
|
||||
if [[ ${OK,,} = "yes" ]] ; then
|
||||
INSTALL_COLABORA_ONLINE_APP=true
|
||||
else
|
||||
INSTALL_COLABORA_ONLINE_APP=false
|
||||
fi
|
||||
else
|
||||
INSTALL_COLABORA_ONLINE_APP=true
|
||||
fi
|
||||
fi
|
||||
#if [[ "${os_dist,,}" = "debian" ]] ; then
|
||||
#
|
||||
# declare -a dpkg_pkg_colabora_online=()
|
||||
# check_package="loolwsd"
|
||||
# if ! $(dpkg -l "$check_package" 2> /devnull | grep -q -E "^ii\s+${check_package}\s+" 2>/dev/null) ; then
|
||||
#
|
||||
# echononl "Install ColaboraOnline App (yes/no) [yes]: "
|
||||
# read OK
|
||||
# while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do
|
||||
# echononl "Wrong entry! - repeat (yes/no) [yes]: "
|
||||
# read OK
|
||||
# [[ -z "${OK,,}" ]] && OK="yes"
|
||||
# done
|
||||
#
|
||||
# if [[ ${OK,,} = "yes" ]] ; then
|
||||
# INSTALL_COLABORA_ONLINE_APP=true
|
||||
# else
|
||||
# INSTALL_COLABORA_ONLINE_APP=false
|
||||
# fi
|
||||
# else
|
||||
# INSTALL_COLABORA_ONLINE_APP=true
|
||||
# fi
|
||||
#fi
|
||||
|
||||
|
||||
|
||||
@ -509,8 +509,8 @@ echo -e " PHP Engine...........................: $PHP_ENGINE"
|
||||
echo ""
|
||||
echo -e " Databse name.........................: $DATABASE_NAME"
|
||||
echo -e " Database type........................: $DATABASE_TYPE"
|
||||
echo ""
|
||||
echo -e " Install ColaboraOnline App...........: $INSTALL_COLABORA_ONLINE_APP"
|
||||
#echo ""
|
||||
#echo -e " Install ColaboraOnline App...........: $INSTALL_COLABORA_ONLINE_APP"
|
||||
echo ""
|
||||
if [[ "$DATABASE_TYPE" = "mysql" ]] ; then
|
||||
echo -e " Mysql Credentials....................: $MYSQL_CREDENTIALS"
|
||||
|
Loading…
Reference in New Issue
Block a user