diff options
author | Stefan Fritsch <sf@debian.org> | 2007-06-17 21:18:46 +0000 |
---|---|---|
committer | Stefan Fritsch <sf@sfritsch.de> | 2012-01-02 10:36:41 +0100 |
commit | 7b9f61f34d4137cc89c073eb319c60fd0f8785b7 (patch) | |
tree | cc0908bee7226132d68ad83abe8928f34d495fc0 /debian/apache2.2-common.postrm | |
parent | aa348759194c9692df0006668c8b5cb95e4f449f (diff) | |
download | apache2-7b9f61f34d4137cc89c073eb319c60fd0f8785b7.tar.gz |
be more thorough on purge
git-svn-id: svn+ssh://svn.debian.org/svn/pkg-apache/trunk/apache2@351 01b336ce-410b-0410-9a02-a0e7f243c266
Diffstat (limited to 'debian/apache2.2-common.postrm')
-rw-r--r-- | debian/apache2.2-common.postrm | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/debian/apache2.2-common.postrm b/debian/apache2.2-common.postrm index 2f4471ae..b6c45d89 100644 --- a/debian/apache2.2-common.postrm +++ b/debian/apache2.2-common.postrm @@ -6,7 +6,15 @@ if [ "$1" = purge ] ; then rm -f /etc/apache2/httpd.conf \ /etc/apache2/ports.conf \ /etc/apache2/conf.d/charset \ - /etc/default/apache2 + /etc/default/apache2 \ + /var/cache/apache2/reload \ + /var/log/apache2/access.log* \ + /var/log/apache2/error.log* + + rm -rf /var/cache/apache2/proxy \ + /var/cache/apache2/mod_disk_cache \ + /var/run/apache2 \ + /var/lock/apache2 for f in /etc/apache2/sites-enabled/* \ /etc/apache2/mods-enabled/* ; do @@ -16,7 +24,9 @@ if [ "$1" = purge ] ; then for d in /etc/apache2/sites-enabled/ \ /etc/apache2/mods-enabled/ \ /etc/apache2/conf.d \ - /etc/apache2 ; do + /etc/apache2 \ + /var/log/apache2 \ + /var/cache/apache2 ; do rmdir $d 2> /dev/null || true done |