[Pkg-apache-commits] [SCM] Debian packaging for apache2 (Apache HTTPD 2.x) branch, next, updated. 64c0c434c521aacb52b8b245416a5be5f0aaa256
Stefan Fritsch
sf at sfritsch.de
Sat Mar 17 23:51:52 UTC 2012
The following commit has been merged in the next branch:
commit d120f6aff42f989076ae24b6a2542983a4a9d9c1
Author: Stefan Fritsch <sf at sfritsch.de>
Date: Sun Mar 18 00:19:06 2012 +0100
Such a hook into postrm turned out not to work, remove it
Use case 1)
apt-get --purge dist-upgrade: Here the old package is purged before
any preinst can trigger the hook
Use case 2)
Prevent havoc from old package's postrm: Here the file triggering
the hook would have to stay around until the old package is purged.
Therefore the right place for such a file is definitely not in /etc.
But we hope we don't need this anymore, anyway, because we now have
separate packages for ABI and config files.
diff --git a/debian/apache2.postrm b/debian/apache2.postrm
index 95a2123..af7a998 100644
--- a/debian/apache2.postrm
+++ b/debian/apache2.postrm
@@ -41,13 +41,6 @@ MOVED_CONFFILES="/etc/bash_completion.d/apache2.2-common:/etc/bash_completion.d/
case "$1" in
purge)
- # back to the future - yay!
- if [ -x /etc/apache2/our_future_ourselves_thinks_we_are_crazy ] ; then
- if /etc/apache2/our_future_ourselves_thinks_we_are_crazy $@ ; then
- return
- fi
- fi
-
for CONFFILE in $OBSOLETE_CONFFILES ; do
rm -f "$CONFFILE.dpkg-bak" "$CONFFILE.dpkg-remove" "$CONFFILE.dpkg-backup"
done
--
Debian packaging for apache2 (Apache HTTPD 2.x)
More information about the Pkg-apache-commits
mailing list