diff options
author | Akinori MUSHA <knu@FreeBSD.org> | 2001-05-29 22:21:34 +0000 |
---|---|---|
committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-05-29 22:21:34 +0000 |
commit | a3b1fbaca771aa14ff0897721c47b41ae2c73522 (patch) | |
tree | 38431ec98ed3332e37113604a8bab373b4274ce6 /ports-mgmt/portupgrade-devel/files | |
parent | cbe50db5a938d093a8ab21f20c5903d9dec93b6e (diff) | |
download | ports-a3b1fbaca771aa14ff0897721c47b41ae2c73522.tar.gz ports-a3b1fbaca771aa14ff0897721c47b41ae2c73522.zip |
Notes
Diffstat (limited to 'ports-mgmt/portupgrade-devel/files')
-rw-r--r-- | ports-mgmt/portupgrade-devel/files/patch-aa | 45 |
1 files changed, 0 insertions, 45 deletions
diff --git a/ports-mgmt/portupgrade-devel/files/patch-aa b/ports-mgmt/portupgrade-devel/files/patch-aa deleted file mode 100644 index cbad20fdd930..000000000000 --- a/ports-mgmt/portupgrade-devel/files/patch-aa +++ /dev/null @@ -1,45 +0,0 @@ -Index: pkgdb.rb -=================================================================== -RCS file: /home/cvs/pkgtools/pkgdb.rb,v -retrieving revision 1.13 -diff -u -r1.13 pkgdb.rb ---- pkgdb.rb 2001/05/29 19:12:44 1.13 -+++ pkgdb.rb 2001/05/29 21:28:33 -@@ -113,9 +113,20 @@ - - def glob(pattern = '*') - list = [] -+ complete = false - -- Dir.glob(File.join(@db_dir, pattern)).sort.each do |pkgname| -+ g = Dir.glob(File.join(@db_dir, pattern)) -+ if g.empty? -+ complete = true -+ g = Dir.glob(File.join(@db_dir, pattern + '-*')) -+ end -+ -+ g.sort.each do |pkgname| - pkgname.slice!(0, @db_dir.size + 1) -+ -+ if complete -+ /^#{Regexp.quote(pattern)}-[^\-]+$/ =~ pkgname or next -+ end - - next unless installed?(pkgname) - -Index: portversion -=================================================================== -RCS file: /home/cvs/pkgtools/portversion,v -retrieving revision 1.4 -diff -u -r1.4 portversion ---- portversion 2001/05/29 20:38:32 1.4 -+++ portversion 2001/05/29 21:32:00 -@@ -208,7 +208,7 @@ - newpkg = nil - - if $? -- return [5, nil] -+# return [5, nil] - end - - begin |