r24646 - in /desktop/unstable/glib2.0/debian: changelog libglib2.0-0.postrm

joss at users.alioth.debian.org joss at users.alioth.debian.org
Fri Jul 2 18:18:42 UTC 2010


Author: joss
Date: Fri Jul  2 18:18:35 2010
New Revision: 24646

URL: http://svn.debian.org/wsvn/pkg-gnome/?sc=1&rev=24646
Log:
Purge the modules cache in the postrm.

Added:
    desktop/unstable/glib2.0/debian/libglib2.0-0.postrm
Modified:
    desktop/unstable/glib2.0/debian/changelog

Modified: desktop/unstable/glib2.0/debian/changelog
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/changelog?rev=24646&op=diff
==============================================================================
--- desktop/unstable/glib2.0/debian/changelog [utf-8] (original)
+++ desktop/unstable/glib2.0/debian/changelog [utf-8] Fri Jul  2 18:18:35 2010
@@ -4,6 +4,7 @@
   * Bump standards version accordingly.
   * Ship gio-querymodules in a versioned directory.
   * Run it on installation, not only when triggered.
+  * Purge the modules cache in the postrm.
 
  -- Josselin Mouette <joss at debian.org>  Fri, 02 Jul 2010 18:51:29 +0200
 

Added: desktop/unstable/glib2.0/debian/libglib2.0-0.postrm
URL: http://svn.debian.org/wsvn/pkg-gnome/desktop/unstable/glib2.0/debian/libglib2.0-0.postrm?rev=24646&op=file
==============================================================================
--- desktop/unstable/glib2.0/debian/libglib2.0-0.postrm (added)
+++ desktop/unstable/glib2.0/debian/libglib2.0-0.postrm [utf-8] Fri Jul  2 18:18:35 2010
@@ -1,0 +1,10 @@
+#! /bin/sh
+set -e
+
+#DEBHELPER#
+
+if [ -d /usr/lib/gio/modules ]; then
+    # Purge the cache
+    rm -f /usr/lib/gio/modules/giomodule.cache
+    rmdir -p --ignore-fail-on-non-empty /usr/lib/gio/modules
+fi




More information about the pkg-gnome-commits mailing list