
# if we're running live ( or installing ) free up as much space as possible for 256MB machines

egrep -q "^/cow"  /proc/mounts
if [ $? -eq 0 ] ; then

	# get rid of some stuff to save on memory

	# can get these back with an apt-get 
	rm /var/lib/apt/lists/*
	rm /var/cache/apt/pkgcache.bin
	rm /var/cache/apt/srcpkgcache.bin

	#make sure we rerun apt-get when necessary
	rm /var/run/groovix/apt-get-update.timestamp
fi
