diff --git a/templates/hal/INSTALL b/templates/hal/INSTALL index 38f8400ee66..c6c54190bb2 100644 --- a/templates/hal/INSTALL +++ b/templates/hal/INSTALL @@ -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 diff --git a/templates/hal/template b/templates/hal/template index 049e8692ba2..d7044546e9a 100644 --- a/templates/hal/template +++ b/templates/hal/template @@ -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