Blame SOURCES/50-clean-files

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