diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-08-23 09:09:17 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-08-23 09:09:17 +0000 |
commit | 6a0b21045c51c2fdb10860242c223651a256dd3f (patch) | |
tree | 6c8d8781ecb6b8fb32636d66046edb7e49a7ede5 /usr.sbin/pkg_add/OpenBSD/PackageName.pm | |
parent | 6fe45b5a69219e652af854c028387f622eed93f3 (diff) |
fix v* order in keep_most_recent.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackageName.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackageName.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackageName.pm b/usr.sbin/pkg_add/OpenBSD/PackageName.pm index 51cfde63517..aa3ef67eb1f 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackageName.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackageName.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackageName.pm,v 1.30 2007/06/04 20:48:23 espie Exp $ +# $OpenBSD: PackageName.pm,v 1.31 2007/08/23 09:09:16 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -101,7 +101,7 @@ sub rebuildp if ($p == -1) { return $pkg; } - if ($pkg =~ m/^(.*?)(\-\d[^-]*)(.*)$/o) { + if ($pkg =~ m/^(.*?)(\-\d[^-v]*)(.*)$/o) { return "$1$2p$p$3"; } else { return $pkg."p".$p; |