hooks/xbps-metadata-scripts: add support for system_accounts=foo:uid.
This commit is contained in:
parent
ee8504eeae
commit
53655c45e8
|
@ -83,6 +83,13 @@ _EOF
|
|||
_add_trigger system-accounts
|
||||
echo "export system_accounts=\"${system_accounts}\"" >> $tmpf
|
||||
for f in ${system_accounts}; do
|
||||
local _uname="${acct%:*}"
|
||||
local _uid="${acct#*:}"
|
||||
|
||||
if [ "${_uid}" = "${_uname}" ]; then
|
||||
continue
|
||||
fi
|
||||
|
||||
eval homedir="\$${f}_homedir"
|
||||
eval shell="\$${f}_shell"
|
||||
eval descr="\$${f}_descr"
|
||||
|
|
Loading…
Reference in New Issue