From d874b48dcf415967c1f10a3e631f1a5c5f5da9cd Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 6 Nov 2010 06:06:55 +0100 Subject: [PATCH] xbps-triggers: fix post-remove target for the gtk-immodules trigger in the gtk+ case. Bump to 0.7. --- srcpkgs/xbps-triggers/files/gtk-immodules | 2 +- srcpkgs/xbps-triggers/template | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/xbps-triggers/files/gtk-immodules b/srcpkgs/xbps-triggers/files/gtk-immodules index 1f534e8376..15e8ae69d2 100755 --- a/srcpkgs/xbps-triggers/files/gtk-immodules +++ b/srcpkgs/xbps-triggers/files/gtk-immodules @@ -23,7 +23,7 @@ targets) ;; run) if [ "$TARGET" = "post-remove" -a "${PKGNAME}" = "gtk+" ]; then - [ -f ${immodules_db} ] rm -f ${immodules_db} + [ -f ${immodules_db} ] && rm -f ${immodules_db} break fi case "$TARGET" in diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 2ae8542fb7..4ea8a5dc33 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.6 +version=0.7 build_style=custom-install short_desc="XBPS triggers" maintainer="Juan RP "