From caf8d64afc454781a7d3d71661c02323e016feae Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Sat, 21 Sep 2024 13:13:41 +0200 Subject: [PATCH] also check for old installations (and reinstall) Signed-off-by: Daniel Hansson --- network/geoblock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"