taskd: fix absolute paths in INSTALL/REMOVE scripts

This commit is contained in:
maxice8 2018-08-26 16:09:05 -03:00
parent b4f7a3c8d0
commit 43aea5d6e8
No known key found for this signature in database
GPG key ID: 543B9D4F4299F06B
2 changed files with 4 additions and 4 deletions

View file

@ -2,9 +2,9 @@
case "$ACTION" in case "$ACTION" in
post) post)
if [ "$UPDATE" != "yes" ]; then if [ "$UPDATE" != "yes" ]; then
taskd init --data /var/lib/taskd taskd init --data var/lib/taskd
taskd config --data /var/lib/taskd log /var/log/taskd.log taskd config --data var/lib/taskd log var/log/taskd.log
chown -R taskd:taskd /var/lib/taskd chown -R taskd:taskd var/lib/taskd
fi fi
;; ;;
esac esac

View file

@ -1,7 +1,7 @@
# Template file for 'taskd' # Template file for 'taskd'
pkgname=taskd pkgname=taskd
version=1.1.0 version=1.1.0
revision=2 revision=3
build_style=cmake build_style=cmake
makedepends="libuuid-devel gnutls-devel" makedepends="libuuid-devel gnutls-devel"
depends="gnutls-tools" depends="gnutls-tools"