tazlito rev 193

tazlito/iso2flavor: remove tmp files
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Dec 18 18:05:31 2010 +0100 (2010-12-18)
parents 233dc896fb14
children 8e3ffb7f7391
files tazlito
line diff
     1.1 --- a/tazlito	Sat Dec 18 17:04:50 2010 +0100
     1.2 +++ b/tazlito	Sat Dec 18 18:05:31 2010 +0100
     1.3 @@ -1039,8 +1039,12 @@
     1.4  		done
     1.5  	done
     1.6  	
     1.7 -	# Remove tazpkg date
     1.8 +	# Remove tazpkg files and tmp files
     1.9  	rm -rf $1/var/lib/tazpkg/installed*
    1.10 +	rm -f $1/var/lib/tazpkg/*packages* $1/var/lib/tazpkg/files.list.lzma \
    1.11 +		$1/var/lib/tazpkg/mirror*  $1/var/cache/*/* \
    1.12 +		$1/var/lock/* $1/var/log/* $1/var/run/* $1/var/run/*/* \
    1.13 +		$1/var/tmp/* $1/var/lib/*  $1/var/lib/dbus/* 2> /dev/null
    1.14  	
    1.15  	# Cleanup directory tree
    1.16  	cd $1