Blame SOURCES/50-clean-files

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