xbps-triggers: create relative symlink.

This commit is contained in:
Juan RP 2012-11-17 11:43:11 +01:00
parent 7d6ab1a68e
commit 45e3ad8e64
1 changed files with 2 additions and 2 deletions

View File

@ -1,6 +1,6 @@
# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.52
version=0.53
revision=1
short_desc="XBPS triggers"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -23,5 +23,5 @@ do_install() {
done
# Create compat symlink.
vmkdir var/db/xbps
ln -sf /${_triggersdir} ${DESTDIR}/var/db/xbps/triggers
cd ${DESTDIR}/var/db/xbps && ln -sf ../../../${_triggersdir} triggers
}