shutils/stow_funcs: use rm -f.
--HG-- extra : convert_revision : d669d311bd19ba41fd6244a62e3430a2c4f71947
This commit is contained in:
parent
1ef484661a
commit
70f7b0aaf4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user