xbps-triggers: update to 0.114.

Fixes #19589.
This commit is contained in:
Leah Neukirchen 2020-03-01 22:55:52 +01:00 committed by Leah Neukirchen
parent 2430b2fce4
commit 2cfdf0f6af
2 changed files with 7 additions and 5 deletions

View file

@ -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:"

View file

@ -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}