PKGBUILDs/core/shadow/shadow.install

11 lines
165 B
Text

post_upgrade() {
# fix gshadow
if [ "$(grpck -r)" ]; then
echo "Fixing gshadow file ..."
while :; do echo "y"; done | grpck
fi
}
op=$1
shift
$op $*