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:
parent
56f4996a9e
commit
250b7f4446
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user