1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Quick fix for pkg-1.3 delete handling. It now requires -f to not automatically

recurse.
This commit is contained in:
Bryan Drewery 2014-07-29 23:41:19 +00:00
parent f0a1c5bc72
commit 06d9bebb77
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363413
2 changed files with 11 additions and 1 deletions

View File

@ -3,7 +3,7 @@
PORTNAME= portupgrade
PORTVERSION= 2.4.12
PORTREVISION= 1
PORTREVISION= 2
PORTEPOCH= 2
CATEGORIES= ports-mgmt
MASTER_SITES= SF/portupgrade/pkgtools/dist/ \

View File

@ -0,0 +1,10 @@
--- ./bin/pkg_glob.orig 2014-07-29 18:39:52.706051787 -0500
+++ ./bin/pkg_glob 2014-07-29 18:40:31.759049595 -0500
@@ -415,6 +415,7 @@
return true if $noexecute
if $pkgdb.with_pkgng?
+ $pkg_delete_args.push '-f'
cmdargs = [PkgDB::command(:pkg), 'delete', *$pkg_delete_args] << pkgname
else
cmdargs = [PkgDB::command(:pkg_delete), *$pkg_delete_args] << pkgname