Author: doogie
Date: Thu Oct 30 20:11:32 2008
New Revision: 709335
URL:
http://svn.apache.org/viewvc?rev=709335&view=revLog:
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