parent
2430b2fce4
commit
2cfdf0f6af
2 changed files with 7 additions and 5 deletions
|
@ -82,7 +82,6 @@ run)
|
|||
for acct in ${system_accounts}; do
|
||||
_uname="${acct%:*}"
|
||||
_uid="${acct#*:}"
|
||||
[ "${_uid}" != "${_uname}" ] && use_id="-u ${_uid} -g ${_uid}"
|
||||
|
||||
eval homedir="\$${_uname}_homedir"
|
||||
eval shell="\$${_uname}_shell"
|
||||
|
@ -94,6 +93,9 @@ run)
|
|||
[ -z "$descr" ] && descr="${_uname} unprivileged user"
|
||||
[ -n "$groups" ] && user_groups="-G $groups"
|
||||
|
||||
[ "${_uid}" != "${_uname}" ] &&
|
||||
use_id="-u ${_uid} -g ${pgroup:-${_uid}}"
|
||||
|
||||
if [ -z "$USERADD" -a -z "$GETENT" -a -z "$PASSWD" ]; then
|
||||
echo "WARNING: cannot create ${acct} system user/group (missing useradd/getent/passwd)"
|
||||
echo "The following system account must be created:"
|
||||
|
|
|
@ -1,13 +1,13 @@
|
|||
# Template file for 'xbps-triggers'
|
||||
pkgname=xbps-triggers
|
||||
version=0.113
|
||||
revision=3
|
||||
version=0.114
|
||||
revision=1
|
||||
archs=noarch
|
||||
bootstrap=yes
|
||||
short_desc="The XBPS triggers for Void Linux"
|
||||
short_desc="XBPS triggers for Void Linux"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
license="Public Domain"
|
||||
homepage="https://voidlinux.org"
|
||||
license="BSD-2-clause"
|
||||
|
||||
do_install() {
|
||||
_triggersdir=usr/libexec/${pkgname}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue