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
|
echo_ok
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "${os_dist,,}" = "debian" ]] ; then
|
#if [[ "${os_dist,,}" = "debian" ]] ; then
|
||||||
|
#
|
||||||
declare -a dpkg_pkg_colabora_online=()
|
# declare -a dpkg_pkg_colabora_online=()
|
||||||
check_package="loolwsd"
|
# check_package="loolwsd"
|
||||||
if ! $(dpkg -l "$check_package" 2> /devnull | grep -q -E "^ii\s+${check_package}\s+" 2>/dev/null) ; then
|
# 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]: "
|
# echononl "Install ColaboraOnline App (yes/no) [yes]: "
|
||||||
read OK
|
# read OK
|
||||||
while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do
|
# while [[ "${OK,,}" != "yes" ]] && [[ "${OK,,}" != "no" ]] ; do
|
||||||
echononl "Wrong entry! - repeat (yes/no) [yes]: "
|
# echononl "Wrong entry! - repeat (yes/no) [yes]: "
|
||||||
read OK
|
# read OK
|
||||||
[[ -z "${OK,,}" ]] && OK="yes"
|
# [[ -z "${OK,,}" ]] && OK="yes"
|
||||||
done
|
# done
|
||||||
|
#
|
||||||
if [[ ${OK,,} = "yes" ]] ; then
|
# if [[ ${OK,,} = "yes" ]] ; then
|
||||||
INSTALL_COLABORA_ONLINE_APP=true
|
# INSTALL_COLABORA_ONLINE_APP=true
|
||||||
else
|
# else
|
||||||
INSTALL_COLABORA_ONLINE_APP=false
|
# INSTALL_COLABORA_ONLINE_APP=false
|
||||||
fi
|
# fi
|
||||||
else
|
# else
|
||||||
INSTALL_COLABORA_ONLINE_APP=true
|
# INSTALL_COLABORA_ONLINE_APP=true
|
||||||
fi
|
# fi
|
||||||
fi
|
#fi
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -509,8 +509,8 @@ echo -e " PHP Engine...........................: $PHP_ENGINE"
|
|||||||
echo ""
|
echo ""
|
||||||
echo -e " Databse name.........................: $DATABASE_NAME"
|
echo -e " Databse name.........................: $DATABASE_NAME"
|
||||||
echo -e " Database type........................: $DATABASE_TYPE"
|
echo -e " Database type........................: $DATABASE_TYPE"
|
||||||
echo ""
|
#echo ""
|
||||||
echo -e " Install ColaboraOnline App...........: $INSTALL_COLABORA_ONLINE_APP"
|
#echo -e " Install ColaboraOnline App...........: $INSTALL_COLABORA_ONLINE_APP"
|
||||||
echo ""
|
echo ""
|
||||||
if [[ "$DATABASE_TYPE" = "mysql" ]] ; then
|
if [[ "$DATABASE_TYPE" = "mysql" ]] ; then
|
||||||
echo -e " Mysql Credentials....................: $MYSQL_CREDENTIALS"
|
echo -e " Mysql Credentials....................: $MYSQL_CREDENTIALS"
|
||||||
|
Loading…
Reference in New Issue
Block a user