Add a trigger to (un)register system user/groups.

The following vars can be used for this:

- system_accounts="foo blah"
- foo_homedir, foo_shell, foo_descr, foo_groups.

--HG--
extra : convert_revision : bc7d002e00abc5c84f83a3716a8ecf97f9c9ff24
This commit is contained in:
Juan RP 2009-12-11 12:03:21 +01:00
parent af1b82c40a
commit 4c2cc8b588
8 changed files with 120 additions and 8 deletions

View file

@ -275,11 +275,9 @@ xbps_write_metadata_pkg_real()
<string>$long_desc</string>
_EOF
#
# If package sets $openrc_services, add the openrc-service
# trigger and OpenRC run dependency.
# If package sets $openrc_services, add the OpenRC rundep.
#
if [ -n "$openrc_services" ]; then
triggers="$triggers openrc-service"
Add_dependency run OpenRC
fi