Implement -f with pkgsrc as well

This commit is contained in:
Pierre Pronchery 2015-05-29 11:11:03 +02:00
parent fbd42e17a3
commit 6ae7767dc3

View File

@ -635,7 +635,7 @@ _package_pkgsrc()
distname="$PACKAGE-$VERSION"
pkgname=$(echo "$PKGSRC_PREFIX$PACKAGE" | $TR A-Z a-z)
$DEBUG $RM -r -- "$pkgname" || return 2
[ $FORCE -eq 0 ] || $DEBUG $RM -r -- "$pkgname" || return 2
$DEBUG $MKDIR -- "$pkgname" || return 2
#check the license