r36550 - /desktop/unstable/glib2.0/debian/libglib2.0-0.postrm.in
biebl at users.alioth.debian.org
biebl at users.alioth.debian.org
Tue Jan 8 22:29:47 UTC 2013
Author: biebl
Date: Tue Jan 8 22:29:46 2013
New Revision: 36550
URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=36550
Log:
Add some comment to postrm explaining why the dpkg-trigger call is
necessary and take into account that postrm uses "set -e"
Modified:
desktop/unstable/glib2.0/debian/libglib2.0-0.postrm.in
Modified: desktop/unstable/glib2.0/debian/libglib2.0-0.postrm.in
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/libglib2.0-0.postrm.in?rev=36550&op=diff
==============================================================================
--- desktop/unstable/glib2.0/debian/libglib2.0-0.postrm.in [utf-8] (original)
+++ desktop/unstable/glib2.0/debian/libglib2.0-0.postrm.in [utf-8] Tue Jan 8 22:29:46 2013
@@ -20,5 +20,12 @@
# Purge the compiled schemas
rm -f /usr/share/glib-2.0/schemas/gschemas.compiled
rmdir -p --ignore-fail-on-non-empty /usr/share/glib-2.0/schemas
- [ -d /usr/share/glib-2.0/schemas ] && dpkg-trigger /usr/share/glib-2.0/schemas
+
+ # With multiarch enabled we can't be certain that the cache file
+ # isn't needed for other architectures since it is not reference
+ # counted. The best we can do is to fire a file trigger which will
+ # regenerate the cache file if required.
+ if [ -d /usr/share/glib-2.0/schemas ]; then
+ dpkg-trigger /usr/share/glib-2.0/schemas
+ if
fi
More information about the pkg-gnome-commits
mailing list