]> git.donarmstrong.com Git - debhelper.git/commitdiff
dh_gconf: Remove postrm fragment that handled schema migration from /etc to /usr...
authorJoey Hess <joey@gnu.kitenet.net>
Fri, 29 May 2009 14:53:58 +0000 (10:53 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Fri, 29 May 2009 14:53:58 +0000 (10:53 -0400)
autoscripts/postrm-gconf [deleted file]
debian/changelog
dh_gconf

diff --git a/autoscripts/postrm-gconf b/autoscripts/postrm-gconf
deleted file mode 100644 (file)
index c05eb43..0000000
+++ /dev/null
@@ -1,10 +0,0 @@
-if [ "$1" = purge ]; then
-       OLD_DIR=/etc/gconf/schemas
-       SCHEMA_FILES="#SCHEMAS#"
-       if [ -d $OLD_DIR ]; then
-               for SCHEMA in $SCHEMA_FILES; do
-                       rm -f $OLD_DIR/$SCHEMA
-               done
-               rmdir -p --ignore-fail-on-non-empty $OLD_DIR
-       fi
-fi
index c59afe77d1855833bdd0bb9a40d8cb24cc924dbc..f057c5ae1ce859fa8564514b03b4563d475b56e9 100644 (file)
@@ -7,6 +7,8 @@ debhelper (7.2.15) UNRELEASED; urgency=low
     to special case the .svgz extention when compressing svg.
     Closes: #530253
   * dh_scrollkeeper: Now a deprecated no-op. Closes: #530806
+  * dh_gconf: Remove postrm fragment that handled schema migration
+    from /etc to /usr. Closes: #531035
 
  -- Joey Hess <joeyh@debian.org>  Mon, 18 May 2009 15:42:04 -0400
 
index 8c30de7326f4f4cb42fee40ea44396629ce85ef8..8903566ded2423bbb772527de90782015311a7f5 100755 (executable)
--- a/dh_gconf
+++ b/dh_gconf
@@ -67,7 +67,6 @@ foreach my $package (@{$dh{DOPACKAGES}}) {
                doit("mkdir","-p","$tmp/usr/share/gconf/mandatory");
                doit("install","-p","-m644",$mandatory,"$tmp/usr/share/gconf/mandatory/${priority}_$package");
                autoscript($package,"postinst","postinst-gconf-defaults","s%#OPT#%--mandatory%");
-               autoscript($package,"postrm","postrm-gconf-defaults","s%#OPT#%--mandatory%");
                addsubstvar($package, "misc:Depends", "gconf2 (>= 2.24.0-5)");
                $gconf_dep = 1;
        }