Skip to content
Snippets Groups Projects
Commit 78eeb6ec authored by Andrew M. 'Leny' Lindley's avatar Andrew M. 'Leny' Lindley
Browse files

Delete downloaded CSVs in postrm

parent 6cd1de8e
No related branches found
No related tags found
1 merge request!67Add city level geoip database to Belenos from multiverse
......@@ -20,8 +20,6 @@ GEOLITE_ASNUM_IPV6_CSV_FILE="GeoIPASNum2v6.zip"
GEOIP_CSV_DIR="/usr/share/doc/geoip-database-contrib/csv/"
FAILED=0
mkdir -p $GEOIP_CSV_DIR
for url in \
......
......@@ -22,10 +22,14 @@ EXTERNAL='deb-src http://archive.ubuntu.com/ubuntu $UPSTREAM multiverse'
. ./config
sed "/exit 0/d" -i geoip-database-contrib_update
sed "/^exit 0/d" -i geoip-database-contrib_update
cat $DATA/geoip-database-contrib_update.shim >> geoip-database-contrib_update
cat $DATA/copyright.shim >> debian/copyright
sed '/rm -f \/usr\/share\/GeoIP\/GeoLiteCityv6\.dat/a\
rm -rf /usr/share/doc/geoip-database-contrib/csv
' -i debian/postrm
changelog 'Imported into Trisquel #13927'
compile
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment