diff --git a/srcpkgs/xbps-triggers/INSTALL b/srcpkgs/xbps-triggers/INSTALL index 46f54c63df..d0d4ba877d 100644 --- a/srcpkgs/xbps-triggers/INSTALL +++ b/srcpkgs/xbps-triggers/INSTALL @@ -1,11 +1,12 @@ case "${ACTION}" in -post) +pre) # Remove old triggers and create compat symlink. if [ ! -d var/db/xbps ]; then mkdir -p var/db/xbps else rm -rf var/db/xbps/triggers fi + [ ! -d usr/libexec/${PKGNAME} ] && mkdir -p usr/libexec/${PKGNAME} cd var/db/xbps && ln -sf ../../../usr/libexec/${PKGNAME} triggers ;; esac diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index ea1b9de7fa..28ce6821e5 100644 --- a/srcpkgs/xbps-triggers/template +++ b/srcpkgs/xbps-triggers/template @@ -1,6 +1,6 @@ # Template file for 'xbps-triggers' pkgname=xbps-triggers -version=0.50 +version=0.51 revision=1 short_desc="XBPS triggers" maintainer="Juan RP "