shutils/stow_funcs: use rm -f.

--HG--
extra : convert_revision : d669d311bd19ba41fd6244a62e3430a2c4f71947
This commit is contained in:
Juan RP 2010-04-22 09:02:49 +02:00
parent 1ef484661a
commit 70f7b0aaf4

View file

@ -139,7 +139,7 @@ unstow_pkg_real()
# Remove installed files.
for f in $(cat flist); do
if [ -f $XBPS_MASTERDIR/$f -o -h $XBPS_MASTERDIR/$f ]; then
rm $XBPS_MASTERDIR/$f >/dev/null 2>&1
rm -f $XBPS_MASTERDIR/$f >/dev/null 2>&1
if [ $? -eq 0 ]; then
echo "Removing file: $f"
fi