mirror of
https://github.com/nextcloud/vm.git
synced 2025-10-26 11:27:32 +00:00
actually check all conditions
Signed-off-by: Daniel Hansson <mailto@danielhansson.nu>
This commit is contained in:
parent
b5fb4ea3fe
commit
7321e361ee
@ -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"
|
||||
|
||||
Loading…
Reference in New Issue
Block a user