diff options
author | Marc Espie <espie@cvs.openbsd.org> | 2004-09-21 22:17:50 +0000 |
---|---|---|
committer | Marc Espie <espie@cvs.openbsd.org> | 2004-09-21 22:17:50 +0000 |
commit | ed7dec2ffeafbe66f75b1e4ad5e236abb63b5aa2 (patch) | |
tree | 7c90a71ce3eb0620d4b39664cc3ca1e7dbf02948 /usr.sbin/pkg_add/OpenBSD/PackingList.pm | |
parent | f4b8d71b09996616bebab144f8f38aa7ac6f9d23 (diff) |
@newuser/@newgroup initial support:
- groups category and users category that get handled first, so that
those groups/users can be used for other files.
- : separated fields, for easy parsing. Mostly matching useradd groupadd.
- ! for mandatory values.
Missing pkg_delete -c support for now.
okay naddy@, pvalchev@, millert@
Diffstat (limited to 'usr.sbin/pkg_add/OpenBSD/PackingList.pm')
-rw-r--r-- | usr.sbin/pkg_add/OpenBSD/PackingList.pm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/pkg_add/OpenBSD/PackingList.pm b/usr.sbin/pkg_add/OpenBSD/PackingList.pm index b9c5b4c88ac..15c2110a9aa 100644 --- a/usr.sbin/pkg_add/OpenBSD/PackingList.pm +++ b/usr.sbin/pkg_add/OpenBSD/PackingList.pm @@ -1,5 +1,5 @@ # ex:ts=8 sw=4: -# $OpenBSD: PackingList.pm,v 1.24 2004/09/18 08:14:40 espie Exp $ +# $OpenBSD: PackingList.pm,v 1.25 2004/09/21 22:17:49 espie Exp $ # # Copyright (c) 2003-2004 Marc Espie <espie@openbsd.org> # @@ -134,7 +134,7 @@ sub write for my $unique_item (qw(name no-default-conflict manual-installation extrainfo arch)) { $self->{$unique_item}->write($fh) if defined $self->{$unique_item}; } - for my $listname (qw(modules pkgcfl conflict pkgdep newdepend libdepend items)) { + for my $listname (qw(modules pkgcfl conflict pkgdep newdepend libdepend groups users items)) { if (defined $self->{$listname}) { for my $item (@{$self->{$listname}}) { $item->write($fh); @@ -163,7 +163,7 @@ sub visit for my $unique_item (qw(name no-default-conflict manual-installation extrainfo arch)) { $self->{$unique_item}->$method(@l) if defined $self->{$unique_item}; } - for my $listname (qw(modules pkgcfl conflict pkgdep newdepend libdepend items)) { + for my $listname (qw(modules pkgcfl conflict pkgdep newdepend libdepend groups users items)) { if (defined $self->{$listname}) { for my $item (@{$self->{$listname}}) { $item->$method(@l); |