From 531dc8b34f62f65f40574880bb8d2295a2f95008 Mon Sep 17 00:00:00 2001 From: Marc Espie Date: Tue, 26 Oct 2004 17:25:37 +0000 Subject: more accurate name: DirRmOnly -> SharedItemsOnly use a visitor instead of hardcoding items/users/groups. --- usr.sbin/pkg_add/OpenBSD/SharedItems.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'usr.sbin/pkg_add/OpenBSD/SharedItems.pm') diff --git a/usr.sbin/pkg_add/OpenBSD/SharedItems.pm b/usr.sbin/pkg_add/OpenBSD/SharedItems.pm index b33d5d469ed..1d3b3face14 100644 --- a/usr.sbin/pkg_add/OpenBSD/SharedItems.pm +++ b/usr.sbin/pkg_add/OpenBSD/SharedItems.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: SharedItems.pm,v 1.1 2004/10/26 17:23:15 espie Exp $ +# $OpenBSD: SharedItems.pm,v 1.2 2004/10/26 17:25:36 espie Exp $ # # Copyright (c) 2004 Marc Espie # @@ -33,7 +33,7 @@ sub record_all my $done = 0; for my $e (@list) { OpenBSD::ProgressMeter::show($done, $total); - my $plist = OpenBSD::PackingList->fromfile(installed_info($e).CONTENTS, \&OpenBSD::PackingList::DirrmOnly) or next; + my $plist = OpenBSD::PackingList->fromfile(installed_info($e).CONTENTS, \&OpenBSD::PackingList::SharedItemsOnly) or next; $plist->visit('record_shared_item', $e, $db); $done++; } -- cgit v1.2.3