[SCM] Debian packaging for apache2 branch, master, updated. debian/2.2.22-3-47-g5892f8a

Stefan Fritsch sf at sfritsch.de
Sat Jul 28 23:21:32 UTC 2012


The following commit has been merged in the master branch:
commit 5892f8a1cae73a0e4359cf17ac492448a21188cc
Author: Stefan Fritsch <sf at sfritsch.de>
Date:   Sat Jul 28 21:12:53 2012 +0200

    don't remove /var/cache/apache2/mod_disk_cache, it comes with the
    package

diff --git a/debian/apache2.2-common.postinst b/debian/apache2.2-common.postinst
index fc0ec28..ae2efed 100644
--- a/debian/apache2.2-common.postinst
+++ b/debian/apache2.2-common.postinst
@@ -106,8 +106,8 @@ fi
 # Should run on upgrades from Squeeze or Testing only
 if dpkg --compare-versions "$2" lt 2.2.22-10; then
 	if [ -d /var/cache/apache2/mod_disk_cache ] ; then
-		echo "Purge obsolete mod_disk_cache cache data in /var/cache/apache2/mod_cache_disk/"
-		rm -rf /var/cache/apache2/mod_disk_cache
+		echo "Purging old mod_disk_cache cache data in /var/cache/apache2/mod_cache_disk/"
+		rm -rf /var/cache/apache2/mod_disk_cache/*
 	fi
 fi
 

-- 
Debian packaging for apache2



More information about the Pkg-apache-commits mailing list