Package: release.debian.org Severity: normal Tags: jessie User: release.debian....@packages.debian.org Usertags: pu
Dear release team, The mate-themes package in jessie does not do a proper clean-up of installed/generated files and folders when removed. + * debian/mate-themes.prerm: + + Handle icon-theme.cache file removal. (Closes: #792841). + This proposed upload adds a debian/mate-themes.prerm script that removes auto-generated icon-theme.cache files in various icon theme folders shipped in mate-themes. light+love Mike -- System Information: Debian Release: 8.1 APT prefers stable-updates APT policy: (500, 'stable-updates'), (500, 'proposed-updates'), (500, 'stable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Init: systemd (via /run/systemd/system)
diff -Nru mate-themes-1.9.2/debian/changelog mate-themes-1.9.2/debian/changelog --- mate-themes-1.9.2/debian/changelog 2014-11-25 13:24:48.000000000 +0100 +++ mate-themes-1.9.2/debian/changelog 2015-07-20 15:29:10.000000000 +0200 @@ -1,3 +1,10 @@ +mate-themes (1.9.2-1+deb8u1) jessie-proposed-updates; urgency=medium + + * debian/mate-themes.prerm: + + Handle icon-theme.cache file removal. (Closes: #792841). + + -- Mike Gabriel <sunwea...@debian.org> Mon, 20 Jul 2015 15:21:31 +0200 + mate-themes (1.9.2-1) unstable; urgency=medium * New upstream release. diff -Nru mate-themes-1.9.2/debian/mate-themes.prerm mate-themes-1.9.2/debian/mate-themes.prerm --- mate-themes-1.9.2/debian/mate-themes.prerm 1970-01-01 01:00:00.000000000 +0100 +++ mate-themes-1.9.2/debian/mate-themes.prerm 2015-07-20 15:29:10.000000000 +0200 @@ -0,0 +1,13 @@ +#! /bin/sh +set -e + +if [ "$1" = "remove" ] || [ "$1" = "deconfigure" ] ; then + rm -f /usr/share/icons/ContrastHigh/icon-theme.cache + rm -f /usr/share/icons/ContrastHighLargePrint/icon-theme.cache + rm -f /usr/share/icons/ContrastHighLargePrintInverse/icon-theme.cache + rm -f /usr/share/icons/Fog/icon-theme.cache + rm -f /usr/share/icons/MateLargePrint/icon-theme.cache + rm -f /usr/share/icons/Quid/icon-theme.cache +fi + +#DEBHELPER#