Skip to content

Commit

Permalink
update to correct name
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 authored Sep 13, 2024
1 parent 7596d39 commit 2761c63
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions nextcloud_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -582,8 +582,14 @@ fi
# Get newest dat files for geoblock.sh
if grep -q "^#Geoip-block" /etc/apache2/apache2.conf
then
get_newest_dat_files
check_command systemctl restart apache2
if get_newest_dat_files
then
if grep -c GeoIP.dat /etc/apache2/apache2.conf
then
sed -i "s|GeoIPDBFile /usr/share/GeoIP/GeoIP.dat|GeoIPDBFile /usr/share/GeoIP/GeoIPv4.dat|g" /etc/apache2/apache2.conf
fi
check_command systemctl restart apache2
fi
fi

# Update docker containers and remove Watchtower if Bitwarden is present due to compatibility issue
Expand Down

0 comments on commit 2761c63

Please sign in to comment.