From a95ea214881ae5b0122df52157d9b2b887e1f88f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Wed, 5 Oct 2011 14:53:41 +0200 Subject: [PATCH] xbps-triggers: gsettings-schemas: exit if schemas dir doesn't exist. --- srcpkgs/xbps-triggers/files/gsettings-schemas | 1 + srcpkgs/xbps-triggers/template | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/xbps-triggers/files/gsettings-schemas b/srcpkgs/xbps-triggers/files/gsettings-schemas index 27e8054b583..414fee7993c 100755 --- a/srcpkgs/xbps-triggers/files/gsettings-schemas +++ b/srcpkgs/xbps-triggers/files/gsettings-schemas @@ -33,6 +33,7 @@ run) case "$TARGET" in post-*) + [ ! -d ${GLIB_SCHEMAS_DIR} ] && exit 0 # Compile all GSettings schema files. echo -n "Refreshing GSettings database from " echo -n "${GLIB_SCHEMAS_DIR}... " diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 02579d4c3be..2a6109009e3 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.21 +version=0.22 build_style=custom-install short_desc="XBPS triggers" maintainer="Juan RP "