diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:09:30 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2007-04-29 11:09:30 +0000 |
commit | 16ba533515400205c7877b0cff33d6e7d6f57ad1 (patch) | |
tree | 0d84df8b2d9251318c42383c2606a611e0263aff /usr.sbin/pkg_add/OpenBSD/Delete.pm | |
parent | 21aa3452cd88d4bf64fcc6623307518ff82b5c87 (diff) |
replace $p->visit('method') calls with $p->method
now that it works.
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/Delete.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/Delete.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/Delete.pm b/usr.sbin/pkg_add/OpenBSD/Delete.pm index 87db9f6c2f3..fa12878a932 100644 --- a/usr.sbin/pkg_add/OpenBSD/Delete.pm +++ b/usr.sbin/pkg_add/OpenBSD/Delete.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: Delete.pm,v 1.35 2007/04/15 10:17:29 espie Exp $ +# $OpenBSD: Delete.pm,v 1.36 2007/04/29 11:09:29 espie Exp $ # # Copyright (c) 2003-2007 Marc Espie <espie@openbsd.org> # @@ -102,7 +102,7 @@ sub validate_plist($$) my $destdir = $state->{destdir}; $state->{problems} = 0; $state->{totsize} = 0; - $plist->visit('prepare_for_deletion', $state); + $plist->prepare_for_deletion($state); my $dir = installed_info($plist->pkgname()); for my $i (info_names()) { my $fname = $dir.$i; @@ -168,7 +168,7 @@ sub delete_plist if ($plist->has(DEINSTALL)) { $plist->get(DEINSTALL)->delete($state); } - $plist->visit('register_manpage', $state); + $plist->register_manpage($state); manpages_unindex($state); my $donesize = 0; for my $item (@{$plist->{groups}}, @{$plist->{users}}, @{$plist->{items}}) { |