shutils/stow_funcs: use rm -f.
--HG-- extra : convert_revision : d669d311bd19ba41fd6244a62e3430a2c4f71947
This commit is contained in:
parent
1ef484661a
commit
70f7b0aaf4
1 changed files with 1 additions and 1 deletions
|
@ -139,7 +139,7 @@ unstow_pkg_real()
|
||||||
# Remove installed files.
|
# Remove installed files.
|
||||||
for f in $(cat flist); do
|
for f in $(cat flist); do
|
||||||
if [ -f $XBPS_MASTERDIR/$f -o -h $XBPS_MASTERDIR/$f ]; then
|
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
|
if [ $? -eq 0 ]; then
|
||||||
echo "Removing file: $f"
|
echo "Removing file: $f"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue