Skip to content

Commit

Permalink
also check for old installations (and reinstall) (#2681)
Browse files Browse the repository at this point in the history
* 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]>
  • Loading branch information
enoch85 committed Sep 21, 2024
1 parent 0d23a44 commit b5fb4ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion network/geoblock.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit b5fb4ea

Please sign in to comment.