slitaz-pizza diff pizza @ rev 113

2015
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jan 05 16:37:46 2015 +0100 (2015-01-05)
parents e9cbc1c2a375
children 47fc1f5fb6d6
line diff
     1.1 --- a/pizza	Mon Dec 16 15:34:06 2013 +0100
     1.2 +++ b/pizza	Mon Jan 05 16:37:46 2015 +0100
     1.3 @@ -232,9 +232,9 @@
     1.4  		# TODO: Improve and use configs from pizza.conf
     1.5  		echo "Purging temporary files and old flavors" | log
     1.6  		echo "Purging tmp files..."
     1.7 -		find $tmp -mtime +1 | xargs rm -rf
     1.8 +		find $tmp -mtime +1 -print0 | xargs -0 rm -rf
     1.9  		echo "Purging ISO's..."
    1.10 -		find $public -mtime +15 | xargs rm -rf
    1.11 +		find $public -mtime +15 -print0 | xargs -0 rm -rf
    1.12  		;;
    1.13  	clean)
    1.14  		# Clean all chroot.