add letsencrypt mail just in case of vpn proxy
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
23
install.sh
23
install.sh
@@ -48,6 +48,18 @@ ask_envs() {
|
||||
break;
|
||||
fi;
|
||||
done
|
||||
|
||||
echo "Please add the letsencrypt mail address:";
|
||||
while read -r LETSENCRYPT_MAIL; do
|
||||
if [ "$LETSENCRYPT_MAIL" != "" ]; then
|
||||
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '@')" != "" ]; then
|
||||
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '\.')" != "" ]; then
|
||||
break;
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
echo "Invalid email address.";
|
||||
done
|
||||
fi
|
||||
|
||||
echo "Cron? (Y/n)";
|
||||
@@ -58,17 +70,6 @@ ask_envs() {
|
||||
CRON="yes";
|
||||
fi
|
||||
|
||||
echo "Please add the letsencrypt mail address:";
|
||||
while read -r LETSENCRYPT_MAIL; do
|
||||
if [ "$LETSENCRYPT_MAIL" != "" ]; then
|
||||
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '@')" != "" ]; then
|
||||
if [ "$(echo "$LETSENCRYPT_MAIL" | grep '\.')" != "" ]; then
|
||||
break;
|
||||
fi;
|
||||
fi;
|
||||
fi;
|
||||
echo "Invalid email address.";
|
||||
done
|
||||
}
|
||||
|
||||
discover_services() {
|
||||
|
Reference in New Issue
Block a user