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