From 70f7b0aaf4a9a648a85fc79a22b3ac096515fb65 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 22 Apr 2010 09:02:49 +0200 Subject: [PATCH] shutils/stow_funcs: use rm -f. --HG-- extra : convert_revision : d669d311bd19ba41fd6244a62e3430a2c4f71947 --- xbps-src/shutils/stow_funcs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xbps-src/shutils/stow_funcs.sh b/xbps-src/shutils/stow_funcs.sh index e9c8c9da83a..6359915aeb5 100644 --- a/xbps-src/shutils/stow_funcs.sh +++ b/xbps-src/shutils/stow_funcs.sh @@ -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