From 2cf20e429468f3230e2d3bae01653d0cfa632bbc Mon Sep 17 00:00:00 2001 From: Christoph Date: Sun, 11 Apr 2021 12:20:19 +0200 Subject: [PATCH] update_nextcloud.sh: ommit askint for 'ColaboraOnline' - Its not used/needed here. --- update_nextcloud.sh | 50 ++++++++++++++++++++++----------------------- 1 file changed, 25 insertions(+), 25 deletions(-) diff --git a/update_nextcloud.sh b/update_nextcloud.sh index 44b4c5e..2b8dfd9 100755 --- a/update_nextcloud.sh +++ b/update_nextcloud.sh @@ -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"