summaryrefslogtreecommitdiff
path: root/usr.sbin/pkg_add/OpenBSD/Update.pm
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-01-09 12:01:58 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-01-09 12:01:58 +0000
commit1b253600a654ecbe35bb1fa8a3085a3ffffd0d08 (patch)
tree20e9c23b1d5e779cf9cf70c8631694d1589ad404 /usr.sbin/pkg_add/OpenBSD/Update.pm
parent41e450e6bfa5b38165aed04d70496e8dbbb7a6d2 (diff)
fixed version, somehow I forgot that I use parse to do weird things with
PKG_PATH...
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Update.pm')
-rw-r--r--usr.sbin/pkg_add/OpenBSD/Update.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm
index ef4696fe818..94fb09e8920 100644
--- a/usr.sbin/pkg_add/OpenBSD/Update.pm
+++ b/usr.sbin/pkg_add/OpenBSD/Update.pm
@@ -1,5 +1,5 @@
# ex:ts=8 sw=4:
-# $OpenBSD: Update.pm,v 1.129 2010/01/09 11:26:58 espie Exp $
+# $OpenBSD: Update.pm,v 1.130 2010/01/09 12:01:57 espie Exp $
#
# Copyright (c) 2004-2010 Marc Espie <espie@openbsd.org>
#
@@ -275,7 +275,7 @@ sub process_hint2
my ($self, $set, $hint, $state) = @_;
my $pkgname = $hint->pkgname;
if (OpenBSD::PackageName::is_stem($pkgname)) {
- if ($pkgname =~ m/\//o) {
+ if ($pkgname =~ m/[\/\:]/o) {
require OpenBSD::PackageLocator;
my $repo;
($repo, undef, $pkgname) = OpenBSD::PackageLocator::path_parse($pkgname);