Skip to content

Commit

Permalink
actually check all conditions
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 authored Sep 21, 2024
1 parent b5fb4ea commit 7321e36
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" ] || ! grep -q "^#Geoip-block" /etc/apache2/apache2.conf
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 7321e36

Please sign in to comment.