summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoey Hess <joey@gnu.kitenet.net>2009-05-29 10:53:58 -0400
committerJoey Hess <joey@gnu.kitenet.net>2009-05-29 10:53:58 -0400
commitf9a52839c6ee980150ecfd8dbf26cef1e7dc0122 (patch)
tree7f0b59a2112f640a5671dc56462f11928d21a407
parent1cdb8b8fd1faa5688cde5e96c994ff2a8ae6ae4e (diff)
dh_gconf: Remove postrm fragment that handled schema migration from /etc to /usr. Closes: #531035
-rw-r--r--autoscripts/postrm-gconf10
-rw-r--r--debian/changelog2
-rwxr-xr-xdh_gconf1
3 files changed, 2 insertions, 11 deletions
diff --git a/autoscripts/postrm-gconf b/autoscripts/postrm-gconf
deleted file mode 100644
index c05eb43..0000000
--- a/autoscripts/postrm-gconf
+++ /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
diff --git a/debian/changelog b/debian/changelog
index c59afe7..f057c5a 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -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
diff --git a/dh_gconf b/dh_gconf
index 8c30de7..8903566 100755
--- 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;
}