Bug#559506: Remove unneeded debian/glabels-data.post{inst,rm}
Andrew Starr-Bochicchio
a.starr.b at gmail.com
Fri Dec 4 22:25:22 UTC 2009
Package: glabels
Version: 2.2.5-1
Severity: minor
Tags: patch
User: ubuntu-devel at lists.ubuntu.com
Usertags: origin-ubuntu lucid ubuntu-patch
*** /tmp/tmpfW__QZ
In Ubuntu, we've removed debian/glabels-data.post{inst,rm}. It is
no longer needed to explicitly call update-desktop-database and
update-mime-database. These are handled by triggers.
-------------- next part --------------
reverted:
--- glabels-2.2.5/debian/glabels-data.postinst
+++ glabels-2.2.5.orig/debian/glabels-data.postinst
@@ -1,24 +0,0 @@
-#!/bin/sh
-# $Id: glabels-data.postinst 2784 2005-03-20 16:54:44Z netsnipe-guest $
-# vim:ts=4:sw=4:expandtab:
-
-set -e
-
-if [ "$1" = "configure" ]
-then
- if [ -x "`which update-desktop-database 2>/dev/null`" ];
- then
- update-desktop-database
- fi
-
- if [ -x "`which update-mime-database 2>/dev/null`" ];
- then
- update-mime-database /usr/share/mime
- fi
-fi
-
-#DEBHELPER#
-
-exit 0
-
-
reverted:
--- glabels-2.2.5/debian/glabels-data.postrm
+++ glabels-2.2.5.orig/debian/glabels-data.postrm
@@ -1,27 +0,0 @@
-#!/bin/sh
-# $Id: glabels-data.postrm 2784 2005-03-20 16:54:44Z netsnipe-guest $
-# vim:ts=4:sw=4:expandtab:
-
-set -e
-case "$1" in
- remove)
- if [ -x "`which update-desktop-database 2>/dev/null`" ]; then
- update-desktop-database
- fi
-
- if [ -x "`which update-mime-database 2>/dev/null`" ]; then
- update-mime-database /usr/share/mime
- fi
-
- ;;
- purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
- ;;
- *)
- echo "postrm called with unknown argument \`$1'" >&2
- exit 1
-esac
-
-
-#DEBHELPER#
-
-exit 0
More information about the pkg-gnome-maintainers
mailing list