Package: munin
Version: 2:1.4.7-1.1+0.0.0.15.9ced849.15
Severity: normal


Here's a slightly better version:



diff --git a/debian/munin.postrm b/debian/munin.postrm
index 86d8324..75c84f6 100644
--- a/debian/munin.postrm
+++ b/debian/munin.postrm
@@ -24,26 +24,14 @@ if [ "$1" = "purge" ]; then
        rm -f /var/log/munin/munin-html.log*
        rm -f /var/log/munin/munin-limits.log*
 
-       CACHE_MUNIN_WWW=/var/cache/munin/www
-       if dpkg-statoverride --list $CACHE_MUNIN_WWW >/dev/null 2>&1
-       then
-               dpkg-statoverride --remove $CACHE_MUNIN_WWW
-       fi
-
+       dpkg-statoverride --remove /var/cache/munin/www
 
        # These are shared with munin-node, so only remove them if munin-node
        # isn't installed (or already purged).
        status=$(dpkg --get-selections munin-node)
        if [ -z "$status" ] || [ "${status%purge}" != "$status" ]; then
-               for i in /var/log/munin /var/lib/munin
-               do
-                       if dpkg-statoverride --list $i >/dev/null 2>&1
-                       then
-                               dpkg-statoverride --remove $i
-                               dpkg-statoverride --remove $i
-                       fi
-               done
-       fi
+               dpkg-statoverride --remove /var/log/munin
+               dpkg-statoverride --remove /var/lib/munin
        fi
        
        delete_dir_if_empty /var/cache/munin/www




-- System Information:
Debian Release: 6.0.4
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.1-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages munin depends on:
ii  add 3.112+nmu2                           add and remove users and groups
ii  cro 3.0pl1-116                           process scheduling daemon
pn  lib <none>                               (no description available)
ii  lib 2.9-2                                module for using HTML Templates wi
ii  lib 1.29-1                               A Perl port of the widely popular 
ii  lib 1.4.3-1                              time-series data storage and displ
pn  lib <none>                               (no description available)
ii  mun 2:1.4.7-1.1+0.0.0.15.9ced849.15      network-wide graphing framework (c
ii  per 5.10.1-17squeeze3                    Larry Wall's Practical Extraction 
ii  per 5.10.1-17squeeze3                    Core Perl modules
ii  pyt 2.1.11-1.spotify+0.0.0.31.e0870c9.23 Python bindings for 0MQ library
ii  rrd 1.4.3-1                              time-series data storage and displ
ii  ttf 2.31-1                               Metapackage to pull in ttf-dejavu-

Versions of packages munin recommends:
ii  libdate- 6.11-1                          module for manipulating dates
ii  munin-no 2:1.4.7-1.1+0.0.0.15.9ced849.15 network-wide graphing framework (n

Versions of packages munin suggests:
ii  chromium-br 6.0.472.63~r59945-5+squeeze6 Chromium browser
ii  epiphany-br 2.30.6-1                     Intuitive GNOME web browser
ii  google-chro 18.0.1025.142-r129054        The web browser from Google
pn  httpd       <none>                       (no description available)
ii  iceweasel [ 3.5.16-13                    Web browser based on Firefox
ii  libnet-ssle 1.36-1                       Perl module for Secure Sockets Lay
ii  w3m [www-br 0.5.2-9                      WWW browsable pager with excellent

-- Configuration Files:
/etc/munin/munin.conf changed [not included]

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to