diff --git a/install_sympa.sh b/install_sympa.sh index 53fb8e0..7b19591 100755 --- a/install_sympa.sh +++ b/install_sympa.sh @@ -825,47 +825,47 @@ if ! $UPDATE_SYMPA ; then fi fi - echo "" - echo "" - echo -e "\033[32m--\033[m" - echo "" - echo "Insert the IP-Addresses where the webserver should listen for that site." - echo "" - IPv4= - while [ "X$IPv4" = "X" ];do - if [ -z "$__ipv4" ]; then - echononl "IPv4 address: " - read IPv4 - if [ "X$IPv4" = "X" ]; then - echo -e "\n\t\033[33m\033[1mEingabe erforderlich!\033[m\n" - fi - else - echononl "IPv4 address [$__ipv4]: " - read IPv4 - if [ "X$IPv4" = "X" ]; then - IPv4=$__ipv4 - fi - fi - done - IPv6= - while [ "X$IPv6" = "X" ];do - if [ -z "$__ipv6" ]; then - echononl "IPv6 address: " - read IPv6 - if [ "X$IPv6" = "X" ]; then - echo -e "\n\t\033[33m\033[1mEingabe erforderlich!\033[m\n" - fi - else - echononl "IPv6 address [$__ipv6]: " - read IPv6 - if [ "X$IPv6" = "X" ]; then - IPv6=$__ipv6 - fi - fi - done fi +echo "" +echo "" +echo -e "\033[32m--\033[m" +echo "" +echo "Insert the IP-Addresses where the webserver should listen for that site." +echo "" +IPv4= +while [ "X$IPv4" = "X" ];do + if [ -z "$__ipv4" ]; then + echononl "IPv4 address: " + read IPv4 + if [ "X$IPv4" = "X" ]; then + echo -e "\n\t\033[33m\033[1mEingabe erforderlich!\033[m\n" + fi + else + echononl "IPv4 address [$__ipv4]: " + read IPv4 + if [ "X$IPv4" = "X" ]; then + IPv4=$__ipv4 + fi + fi +done +IPv6= +while [ "X$IPv6" = "X" ];do + if [ -z "$__ipv6" ]; then + echononl "IPv6 address: " + read IPv6 + if [ "X$IPv6" = "X" ]; then + echo -e "\n\t\033[33m\033[1mEingabe erforderlich!\033[m\n" + fi + else + echononl "IPv6 address [$__ipv6]: " + read IPv6 + if [ "X$IPv6" = "X" ]; then + IPv6=$__ipv6 + fi + fi +done SYMPA_ALIAS_FILE=