[Pkg-owncloud-commits] [owncloud] 01/01: Remove log files on purge

David Prévot taffit at alioth.debian.org
Wed Aug 7 20:26:58 UTC 2013


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to branch master
in repository owncloud.

commit a73de98822ec7fd308e72d10721f002245ab0033
Author: David Prévot <taffit at debian.org>
Date:   Wed Aug 7 22:18:04 2013 +0200

    Remove log files on purge
    
    Closes: #717802
---
 debian/owncloud.postrm |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/owncloud.postrm b/debian/owncloud.postrm
index 2865bc7..2a372bc 100644
--- a/debian/owncloud.postrm
+++ b/debian/owncloud.postrm
@@ -6,8 +6,9 @@ set -e
 
 case "$1" in
     purge)
-        # Remove generated config file.
+        # Remove generated config and log files.
 	rm -f /etc/owncloud/config.php
+	rm -f /var/log/owncloud.log*
 	CONF="owncloud"
 	COMMON_STATE=$(dpkg-query -f '${Status}' -W 'apache2.2-common' 2>/dev/null | awk '{print $3}' || true)
 	if [ -e /usr/share/apache2/apache2-maintscript-helper ] ; then

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-owncloud/owncloud.git



More information about the Pkg-owncloud-commits mailing list