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:12:35 UTC

svn commit: r709336 - /ofbiz/trunk/debian/ofbiz.prerm

Author: doogie
Date: Thu Oct 30 20:12:35 2008
New Revision: 709336

URL: http://svn.apache.org/viewvc?rev=709336&view=rev
Log:
Fix call to xargs rm when purging cache files.

Modified:
    ofbiz/trunk/debian/ofbiz.prerm

Modified: ofbiz/trunk/debian/ofbiz.prerm
URL: http://svn.apache.org/viewvc/ofbiz/trunk/debian/ofbiz.prerm?rev=709336&r1=709335&r2=709336&view=diff
==============================================================================
--- ofbiz/trunk/debian/ofbiz.prerm (original)
+++ ofbiz/trunk/debian/ofbiz.prerm Thu Oct 30 20:12:35 2008
@@ -25,7 +25,7 @@
 
 case "$1" in
 	(upgrade|remove)
-		find /var/cache/ofbiz -mindepth 1 -maxdepth 1 -print0 | xargs rm -rf
+		find /var/cache/ofbiz -mindepth 1 -maxdepth 1 -print0 | xargs -0 --no-run-if-empty rm -rf
 		;;
 esac