Delete downloaded CSVs in postrm

This commit is contained in:
Andrew M. 'Leny' Lindley 2015-04-09 07:15:01 +01:00
parent 6cd1de8ecc
commit 78eeb6eccd
2 changed files with 5 additions and 3 deletions

View file

@ -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