vp-build/srcpkgs/hal/INSTALL
Juan RP 0092bfdf05 hal: use trigger to (un)register system user/groups, bumprev.
--HG--
extra : convert_revision : 6a8a4206a3a2b1d2d389d1c25a276f546109094d
2009-12-11 12:07:07 +01:00

19 lines
289 B
Plaintext

#
# This script creates some required dirs.
#
case "${ACTION}" in
pre)
;;
post)
# Create some required dirs if don't exist.
if [ ! -d var/run/hald ]; then
mkdir -p var/run/hald
chown hal:hal var/run/hald
fi
if [ ! -d var/cache/hald ]; then
mkdir -p var/cache/hald
fi
;;
esac