Blame SOURCES/50-clean-files

9613bd
function cleanFile() {
9613bd
	if [ -d $1 ]
9613bd
	then	rmdir $1 &>/dev/null && echo "Dir. $1" || return 0
9613bd
	else 	rm    $1 && echo "File $1"
9613bd
	fi
9613bd
}
9613bd
9613bd
find register.content -mindepth 2 -depth -print | while read source
9613bd
do
9613bd
  dest=${source/register.content/}
9613bd
  cleanFile $dest
9613bd
done
9613bd