xbps-triggers: system-accounts: use /var/empty by default.
some system users expect a valid path to work properly (polkit), and /var/empty is there exactly for this.
This commit is contained in:
parent
8831ecfdad
commit
4d99da275f
2 changed files with 2 additions and 2 deletions
|
@ -90,7 +90,7 @@ run)
|
||||||
eval descr="\$${_uname}_descr"
|
eval descr="\$${_uname}_descr"
|
||||||
eval groups="\$${_uname}_groups"
|
eval groups="\$${_uname}_groups"
|
||||||
eval pgroup="\$${_uname}_pgroup"
|
eval pgroup="\$${_uname}_pgroup"
|
||||||
[ -z "$homedir" ] && homedir="/dev/null"
|
[ -z "$homedir" ] && homedir="/var/empty"
|
||||||
[ -z "$shell" ] && shell="/sbin/nologin"
|
[ -z "$shell" ] && shell="/sbin/nologin"
|
||||||
[ -z "$descr" ] && descr="${_uname} unprivileged user"
|
[ -z "$descr" ] && descr="${_uname} unprivileged user"
|
||||||
[ -n "$groups" ] && user_groups="-G $groups"
|
[ -n "$groups" ] && user_groups="-G $groups"
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.92
|
version=0.93
|
||||||
revision=1
|
revision=1
|
||||||
noarch=yes
|
noarch=yes
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
|
|
Loading…
Reference in a new issue