You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by do...@apache.org on 2008/10/31 04:11:33 UTC

svn commit: r709335 - /ofbiz/trunk/debian/ofbiz.postrm

Author: doogie
Date: Thu Oct 30 20:11:32 2008
New Revision: 709335

URL: http://svn.apache.org/viewvc?rev=709335&view=rev
Log:
Remove log files during purge.

Modified:
    ofbiz/trunk/debian/ofbiz.postrm

Modified: ofbiz/trunk/debian/ofbiz.postrm
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz.postrm?rev=709335&r1=709334&r2=709335&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz.postrm (original)
+++ ofbiz/trunk/debian/ofbiz.postrm Thu Oct 30 20:11:32 2008
@@ -32,6 +32,7 @@
 		rm -f /etc/ofbiz/debconf.cfg
 		if which ucf >/dev/null; then ucf --purge /etc/ofbiz/debconf.cfg; fi
 		if which ucfr >/dev/null; then ucfr --purge ofbiz /etc/ofbiz/debconf.cfg; fi
+		find /var/log/ofbiz -mindepth 1 -maxdepth 1 -print0 | xargs -0 --no-run-if-empty rm -rf
 	;;
 esac