diff options
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Update.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Update.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm index 61d7d1212f5..f3dd40af440 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.78 2007/06/01 14:58:29 espie Exp $ +# $OpenBSD: Update.pm,v 1.79 2007/06/04 14:40:39 espie Exp $ # # Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org> # @@ -57,7 +57,7 @@ sub add2updates sub process_package { my ($self, $pkgname, $state) = @_; - if ($pkgname =~ m/^(?:\.libs|partial)\-/) { + if ($pkgname =~ m/^(?:\.libs|partial)\-/o) { $state->progress->clear; print "Not updating $pkgname, remember to clean it\n"; return; @@ -100,7 +100,7 @@ sub process_package next; } } - if ($plist->signature() eq $p2->signature()) { + if ($plist->signature eq $p2->signature) { $found = $candidate; push(@l2, $candidate); next; |