[debian-edu-commits] r82082 - trunk/src/desktop-profiles/debian

pere at alioth.debian.org pere at alioth.debian.org
Sat Aug 17 11:55:28 UTC 2013


Author: pere
Date: 2013-08-17 11:55:28 +0000 (Sat, 17 Aug 2013)
New Revision: 82082

Added:
   trunk/src/desktop-profiles/debian/postrm
Modified:
   trunk/src/desktop-profiles/debian/changelog
Log:
Add missing postrm file, making sure to clean up generated files
during purge (Closes: #527067).  Patch from  Phondanai Khanti.

Modified: trunk/src/desktop-profiles/debian/changelog
===================================================================
--- trunk/src/desktop-profiles/debian/changelog	2013-08-17 11:52:10 UTC (rev 82081)
+++ trunk/src/desktop-profiles/debian/changelog	2013-08-17 11:55:28 UTC (rev 82082)
@@ -9,6 +9,8 @@
   * Integrate non-maintainer uploads 1.4.15+nmu1 and 1.4.15+nmu2.
   * Drop kiosktool from suggests, as it no longer exist in Debian
     (Closes: #674593).  Patch from Andrew Starr-Bochicchio.
+  * Add missing postrm file, making sure to clean up generated files
+    during purge (Closes: #527067).  Patch from  Phondanai Khanti.
 
  -- Bart Cornelis (cobaco) <cobaco at linux.be>  Sun, 11 Jan 2009 03:25:25 +0100
 

Added: trunk/src/desktop-profiles/debian/postrm
===================================================================
--- trunk/src/desktop-profiles/debian/postrm	                        (rev 0)
+++ trunk/src/desktop-profiles/debian/postrm	2013-08-17 11:55:28 UTC (rev 82082)
@@ -0,0 +1,10 @@
+#!/bin/sh
+set -e
+
+if [ -x "`which update-menus 2>/dev/null`" ]; then update-menus ; fi
+
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
+    . /usr/share/debconf/confmodule
+    db_purge
+    rm -rf /var/cache/desktop-profiles
+fi


Property changes on: trunk/src/desktop-profiles/debian/postrm
___________________________________________________________________
Added: svn:executable
   + *




More information about the debian-edu-commits mailing list