Blame SOURCES/50-clean-files

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