Skip to content

Commit b5fb4ea

Browse files
authored
also check for old installations (and reinstall) (#2681)
* also check for old installations (and reinstall) Signed-off-by: Daniel Hansson <[email protected]> * forgot the ! Signed-off-by: Daniel Hansson <[email protected]> --------- Signed-off-by: Daniel Hansson <[email protected]>
1 parent 0d23a44 commit b5fb4ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

network/geoblock.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ debug_mode
2323
root_check
2424

2525
# Check if it is already configured
26-
if [ ! -f "$GEOBLOCK_MOD_CONF" ] || [ ! -f "$GEOBLOCK_MOD" ]
26+
if [ ! -f "$GEOBLOCK_MOD_CONF" ] || [ ! -f "$GEOBLOCK_MOD" ] || ! grep -q "^#Geoip-block" /etc/apache2/apache2.conf
2727
then
2828
# Ask for installing
2929
install_popup "$SCRIPT_NAME"

0 commit comments

Comments
 (0)