mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
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
2 changed files with 9 additions and 1 deletions
8
srcpkgs/base-files/INSTALL
Normal file
8
srcpkgs/base-files/INSTALL
Normal file
|
@ -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'
|
# Template file for 'base-files'
|
||||||
pkgname=base-files
|
pkgname=base-files
|
||||||
version=0.124
|
version=0.125
|
||||||
revision=1
|
revision=1
|
||||||
bootstrap=yes
|
bootstrap=yes
|
||||||
depends="base-directories xbps-triggers"
|
depends="base-directories xbps-triggers"
|
||||||
|
|
Loading…
Add table
Reference in a new issue