base-files: if pwconv/grpconv exist and uid==0, run them.
We do this here to have a single entry point to configure system accounts.
This commit is contained in:
parent
a46241ea4d
commit
af80cbfe34
|
@ -0,0 +1,8 @@
|
|||
# This script enables shadow password and groups.
|
||||
case "$ACTION" in
|
||||
post)
|
||||
if [ -x bin/pwconv && -x bin/grpconv -a "$(id -u)" -eq 0 ]; then
|
||||
pwconv && grpconv
|
||||
fi
|
||||
;;
|
||||
esac
|
|
@ -1,6 +1,6 @@
|
|||
# Template file for 'base-files'
|
||||
pkgname=base-files
|
||||
version=0.124
|
||||
version=0.125
|
||||
revision=1
|
||||
bootstrap=yes
|
||||
depends="base-directories xbps-triggers"
|
||||
|
|
Loading…
Reference in New Issue