From 1bc1c5523d9e55e96a99b50ef7ec4081d3ba4f23 Mon Sep 17 00:00:00 2001 From: Daniel Hansson Date: Fri, 20 Sep 2024 21:23:39 +0200 Subject: [PATCH] also update to get PPA packages Signed-off-by: Daniel Hansson --- network/geoblock.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/network/geoblock.sh b/network/geoblock.sh index 4ee8577580..1acb82518c 100644 --- a/network/geoblock.sh +++ b/network/geoblock.sh @@ -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 @@ -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