From e77c14ecab657b53aed4d8a94722ad2ed9d3f855 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 25 Oct 2010 18:36:16 +0200 Subject: [PATCH] xbps-triggers: update to 0.4, improve gsettings-schemas trigger. --- srcpkgs/xbps-triggers/template | 2 +- xbps-src/triggers/gsettings-schemas | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 2f10973f67..0da8bf4274 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.3 +version=0.4 build_style=custom-install short_desc="XBPS Package System triggers" maintainer="Juan RP " diff --git a/xbps-src/triggers/gsettings-schemas b/xbps-src/triggers/gsettings-schemas index 9aae924b7f..5bd1782736 100755 --- a/xbps-src/triggers/gsettings-schemas +++ b/xbps-src/triggers/gsettings-schemas @@ -22,7 +22,7 @@ GLIB_SCHEMAS_DIR="usr/share/glib-2.0/schemas" case "$ACTION" in targets) - echo "post-install pre-remove" + echo "post-install post-remove pre-remove" ;; run) if [ ! -x "$GSCHEMASCOMP" ]; then @@ -30,9 +30,9 @@ run) fi case "$TARGET" in - post-install) + post-*) # Compile all GSettings schema files. - echo -n "Recompiling GSettings XML schema files on " + echo -n "Refreshing GSettings database from " echo -n "${GLIB_SCHEMAS_DIR}... " ${GSCHEMASCOMP} ${GLIB_SCHEMAS_DIR} if [ $? -eq 0 ]; then @@ -44,7 +44,7 @@ run) pre-remove) if [ "${PKGNAME}" = "glib" ]; then rm -f ${GLIB_SCHEMAS_DIR}/*.compiled - echo "Removed compiled GSettings schema files." + echo "Removed GSettings database file." fi ;; esac