diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-05-02 15:05:31 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-05-02 15:05:31 +0000 |
commit | 850d571d26f7956f8733a9655f093a52d3e5ff3c (patch) | |
tree | d3b1f142fed89e3d021fa6d8d76f47a22cf06a32 /usr.sbin/pkg_add/OpenBSD/Update.pm | |
parent | 7d7f634945a396998c775ed73d62bde8ad4cc3f4 (diff) |
$o->method() becomes $o->method
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Update.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Update.pm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Update.pm b/usr.sbin/pkg_add/OpenBSD/Update.pm index d2fdc1a2c2d..3125bef1076 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.66 2007/04/21 10:02:15 espie Exp $ +# $OpenBSD: Update.pm,v 1.67 2007/05/02 15:05:30 espie Exp $ # # Copyright (c) 2004-2006 Marc Espie <espie@openbsd.org> # @@ -96,7 +96,7 @@ sub find } if (defined $found && @l2 == 1 && $found eq $l2[0]) { - if (!$plist->uses_old_libs()) { + if (!$plist->uses_old_libs) { my $msg = "No need to update $pkgname"; OpenBSD::ProgressMeter::message($msg); print "$msg\n" if $state->{beverbose}; @@ -112,7 +112,7 @@ sub find } if (@l2 == 1) { - if (defined $found && $found eq $l2[0] && !$plist->uses_old_libs()) { + if (defined $found && $found eq $l2[0] && !$plist->uses_old_libs) { my $msg = "No need to update $pkgname"; OpenBSD::ProgressMeter::message($msg); print "$msg\n" if $state->{beverbose}; @@ -124,7 +124,7 @@ sub find } else { my $result = OpenBSD::Interactive::choose1($pkgname, $state->{interactive}, sort @l2); if (defined $result) { - if (defined $found && $found eq $result && !$plist->uses_old_libs()) { + if (defined $found && $found eq $result && !$plist->uses_old_libs) { print "No need to update $pkgname\n"; } else { push(@$new, $result); |