hal: create /var/run/hald and /var/cache/hald at post-install.

These dirs are required for HAL at startup. Bump revision.

--HG--
extra : convert_revision : 0b9e1043c3baf692a7d85ffa9f81ea44f8ca41cc
This commit is contained in:
Juan RP 2009-05-07 11:22:53 +00:00
parent 56f4996a9e
commit 250b7f4446
2 changed files with 10 additions and 1 deletions

View file

@ -20,5 +20,14 @@ post)
[ $? -ne 0 ] && exit $?
echo "Created HAL system user."
fi
# 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

View file

@ -1,7 +1,7 @@
# Template file for 'hal'
pkgname=hal
version=0.5.12rc1
revision=1
revision=2
distfiles="http://hal.freedesktop.org/releases/hal-$version.tar.bz2"
build_style=gnu_configure
configure_args="--enable-man-pages --enable-console-kit --enable-policy-kit