index
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
laci
2024-07-04 11:40:51 +02:00
parent cf85dc8554
commit 1a7f788705
2 changed files with 43 additions and 16 deletions

View File

@@ -345,17 +345,10 @@ install_docker_deb() {
ask_additionals() {
echo "Please add directory path of service files: (/etc/user/config/services/)";
read -r SERVICE_DIR;
# TODO
# echo "The path must be absolute, for example /etc/user/config/services/. Please type it again."
if [ "$SERVICE_DIR" == "" ] ; then
SERVICE_DIR="/etc/user/config/services";
else
# while not an absolute path
while [ ${SERVICE_DIR:0:1} != "/" ]; do
echo "The path must be absolute, for example /etc/user/config/services/. Please type it again."
read -r SERVICE_DIR;
done
fi
echo "Do you want to install Nextcloud? (Y/n)";
@@ -497,13 +490,7 @@ ask_additionals() {
fi;
fi
echo "Do you want to install SMTP server? (Y/n)";
read -r ANSWER;
if [ "$ANSWER" == "y" ] || [ "$ANSWER" == "Y" ] || [ "$ANSWER" == "" ]; then
SMTP="yes";
fi;
# SMTP="yes";
echo "Do you want to install roundcube? (Y/n)";
read -r ANSWER;