Force removal of files when restoring system config

This commit is contained in:
Nicolas François 2014-09-20 15:40:46 +02:00
parent e6246599eb
commit 112e015f05

View File

@ -37,7 +37,7 @@ restore_config ()
cp -dp "tmp/$file" "/$file"
rm "tmp/$file"
else
rm "/$file"
rm -f "/$file"
fi
d="$(dirname "tmp/$file")"
while [ -n "$d" ] && [ "$d" != "." ]