Package: nagiosgrapher Version: 1.7.1-2.1 Followup-For: Bug #639279 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu precise ubuntu-patch
In Ubuntu, the attached patch was applied to achieve the following: * Don't fail in postrm if ucf is not present. (Closes: #639279) Thanks for considering the patch. -- System Information: Debian Release: wheezy/sid APT prefers oneiric-updates APT policy: (500, 'oneiric-updates'), (500, 'oneiric-security'), (500, 'oneiric-proposed'), (500, 'oneiric') Architecture: amd64 (x86_64) Kernel: Linux 3.0.0-12-generic (SMP w/8 CPU cores) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash
diff -u nagiosgrapher-1.7.1/debian/postrm.in nagiosgrapher-1.7.1/debian/postrm.in --- nagiosgrapher-1.7.1/debian/postrm.in +++ nagiosgrapher-1.7.1/debian/postrm.in @@ -31,12 +31,12 @@ if [ "$1" = "purge" ]; then for cfg in $CFGS; do - ucf --purge /etc/nagiosgrapher/$cfg + ucf --purge /etc/nagiosgrapher/$cfg || true rm -f /etc/nagiosgrapher/$cfg done for tmpl in $TMPL_CFGS; do - ucf --purge /etc/nagiosgrapher/ngraph.d/$tmpl + ucf --purge /etc/nagiosgrapher/ngraph.d/$tmpl || true rm -f /etc/nagiosgrapher/ngraph.d/$tmpl done fi