diff --git a/network/geoblock.sh b/network/geoblock.sh index 1acb82518c..4f34f410f7 100644 --- a/network/geoblock.sh +++ b/network/geoblock.sh @@ -23,7 +23,7 @@ debug_mode root_check # Check if it is already configured -if [ ! -f "$GEOBLOCK_MOD_CONF" ] || [ ! -f "$GEOBLOCK_MOD" ] +if [ ! -f "$GEOBLOCK_MOD_CONF" ] || [ ! -f "$GEOBLOCK_MOD" ] || grep -q "^#Geoip-block" /etc/apache2/apache2.conf then # Ask for installing install_popup "$SCRIPT_NAME"