[Debian-l10n-commits] r2775 - /pootle/trunk/debian/pootle.prerm
themill-guest at users.alioth.debian.org
themill-guest at users.alioth.debian.org
Wed Nov 16 16:08:34 UTC 2011
Author: themill-guest
Date: Wed Nov 16 16:08:34 2011
New Revision: 2775
URL: http://svn.debian.org/wsvn/?sc=1&rev=2775
Log:
Clean up .translation_index files too
Modified:
pootle/trunk/debian/pootle.prerm
Modified: pootle/trunk/debian/pootle.prerm
URL: http://svn.debian.org/wsvn/pootle/trunk/debian/pootle.prerm?rev=2775&op=diff
==============================================================================
--- pootle/trunk/debian/pootle.prerm (original)
+++ pootle/trunk/debian/pootle.prerm Wed Nov 16 16:08:34 2011
@@ -2,9 +2,15 @@
set -e
. /usr/share/debconf/confmodule
-. /usr/share/dbconfig-common/dpkg/prerm
+. /usr/share/dbconfig-common/dpkg/prerm
dbc_go pootle $@
-
+
+case "$1" in
+ remove)
+ find /var/lib/pootle/po -name .translation_index -exec rm -r {} +
+ ;;
+esac
+
# dh_installdeb will replace this with shell code automatically
# generated by other debhelper scripts.
More information about the Debian-l10n-commits
mailing list