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:
parent
06d9bebb77
commit
1a23908988
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363414
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= portupgrade
|
||||
PORTVERSION= 20140524
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
PORTEPOCH= 3
|
||||
CATEGORIES= ports-mgmt
|
||||
MASTER_SITES= GH \
|
||||
|
10
ports-mgmt/portupgrade-devel/files/patch-bin__pkg_glob
Normal file
10
ports-mgmt/portupgrade-devel/files/patch-bin__pkg_glob
Normal file
@ -0,0 +1,10 @@
|
||||
--- ./bin/pkg_glob.orig 2014-07-29 18:43:42.604036006 -0500
|
||||
+++ ./bin/pkg_glob 2014-07-29 18:43:59.499573325 -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
|
Loading…
Reference in New Issue
Block a user