diff options
author | Stefan Fritsch <sf@debian.org> | 2007-07-19 21:31:47 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2012-01-02 10:36:45 +0100 |
commit | c1ec3650ee0cf8fb3daa390fe2ac93888a2e3709 (patch) | |
tree | ea8a7cc0cc256b4e36482c3467384dd450025dca /debian | |
parent | b7d5773d7d579b4243c722f3a2fd099befabe0c4 (diff) | |
download | apache2-c1ec3650ee0cf8fb3daa390fe2ac93888a2e3709.tar.gz |
tell the user when we replace old config files
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@435 01b336ce-410b-0410-9a02-a0e7f243c266
Diffstat (limited to 'debian')
-rw-r--r-- | debian/apache2.2-common.postrm | 1 | ||||
-rw-r--r-- | debian/apache2.2-common.preinst | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/debian/apache2.2-common.postrm b/debian/apache2.2-common.postrm index 8d32dc6e..48e379ff 100644 --- a/debian/apache2.2-common.postrm +++ b/debian/apache2.2-common.postrm @@ -31,6 +31,7 @@ fi restore_conffile() { if [ -e $1.dpkg-apache2.2-common.old ] ; then + echo Restoring previous version of $1 ... mv $1.dpkg-apache2.2-common.old $1 fi } diff --git a/debian/apache2.2-common.preinst b/debian/apache2.2-common.preinst index 546c681f..48184121 100644 --- a/debian/apache2.2-common.preinst +++ b/debian/apache2.2-common.preinst @@ -19,6 +19,7 @@ rm -f /var/lib/dpkg/info/apache2-common.postrm mv_conffile() { if [ "`md5sum $1 2>/dev/null | cut -d ' ' -f 1`" = "$2" ] ; then + echo Replacing $1 with new version ... mv $1 $1.dpkg-apache2.2-common.old fi } |