Skip to content

Commit

Permalink
also update to get PPA packages
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Hansson <[email protected]>
  • Loading branch information
enoch85 authored Sep 20, 2024
1 parent 6ba4d6b commit 1bc1c55
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 @@ -71,7 +71,6 @@ find /usr/share/GeoIP -type f -regex \
# Make sure it's clean from unused packages and files
apt purge libmaxminddb0* libmaxminddb-dev* mmdb-bin* apache2-dev* -y
apt autoremove -y
#rm -rf /usr/share/GeoIP keep these to save downloads...
check_command systemctl restart apache2
fi

Expand All @@ -84,6 +83,7 @@ fi
##### GeoIP script (Apache Setup)
# Install requirements
yes | add-apt-repository ppa:maxmind/ppa
apt-get update -q4 & spinner_loading
install_if_not libmaxminddb0
install_if_not libmaxminddb-dev
install_if_not mmdb-bin
Expand Down

0 comments on commit 1bc1c55

Please sign in to comment.