void-packages/srcpkgs/hal/INSTALL

19 lines
289 B
Plaintext
Raw Normal View History

#
# 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