diff --git a/srcpkgs/xbps-triggers/files/gconf-schemas b/srcpkgs/xbps-triggers/files/gconf-schemas index fe8ed7926b..9dd630df94 100755 --- a/srcpkgs/xbps-triggers/files/gconf-schemas +++ b/srcpkgs/xbps-triggers/files/gconf-schemas @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # (Un)registers GConf schemas/entries into the schemas database directory. # diff --git a/srcpkgs/xbps-triggers/files/gio-modules b/srcpkgs/xbps-triggers/files/gio-modules index c8656beb27..532d9ef99a 100755 --- a/srcpkgs/xbps-triggers/files/gio-modules +++ b/srcpkgs/xbps-triggers/files/gio-modules @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Updates GLib GIO module cache with gio-querymodules. # diff --git a/srcpkgs/xbps-triggers/files/gsettings-schemas b/srcpkgs/xbps-triggers/files/gsettings-schemas index 414fee7993..771bc10b29 100755 --- a/srcpkgs/xbps-triggers/files/gsettings-schemas +++ b/srcpkgs/xbps-triggers/files/gsettings-schemas @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # GLib's GSettings XML schema files. # diff --git a/srcpkgs/xbps-triggers/files/gtk-icon-cache b/srcpkgs/xbps-triggers/files/gtk-icon-cache index 2ceceab81a..bf425148ef 100755 --- a/srcpkgs/xbps-triggers/files/gtk-icon-cache +++ b/srcpkgs/xbps-triggers/files/gtk-icon-cache @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Updates GTK+ icon cache file with gtk-update-icon-cache(1). # @@ -33,10 +33,15 @@ run) done break fi + + if [ ! -x ${iconcache_bin} ]; then + exit 0 + fi + case "$TARGET" in post-*) for dir in ${gtk_iconcache_dirs}; do - if [ -d "${dir}" -a -x ${iconcache_bin} ]; then + if [ -d "${dir}" ]; then echo -n "Updating GTK+ icon cache for " echo "${dir}..." ${iconcache_bin} -q -f -t ${dir} diff --git a/srcpkgs/xbps-triggers/files/gtk-immodules b/srcpkgs/xbps-triggers/files/gtk-immodules index 7a2d01bd32..ae965b9c10 100755 --- a/srcpkgs/xbps-triggers/files/gtk-immodules +++ b/srcpkgs/xbps-triggers/files/gtk-immodules @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Updates GTK+ IM modules file with gtk-query-immodules-2.0(1). # diff --git a/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders b/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders index 8473797260..8520253d79 100755 --- a/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders +++ b/srcpkgs/xbps-triggers/files/gtk-pixbuf-loaders @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Updates's GDK Pixbuf loaders cache with gdk-pixbuf-query-loaders(1). # diff --git a/srcpkgs/xbps-triggers/files/gtk3-immodules b/srcpkgs/xbps-triggers/files/gtk3-immodules index 2022dd1292..efcb682f92 100755 --- a/srcpkgs/xbps-triggers/files/gtk3-immodules +++ b/srcpkgs/xbps-triggers/files/gtk3-immodules @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Updates GTK+3 IM modules file with gtk-query-immodules-3.0(1). # diff --git a/srcpkgs/xbps-triggers/files/kernel-hooks b/srcpkgs/xbps-triggers/files/kernel-hooks index 84d07a1fea..7981fe350d 100755 --- a/srcpkgs/xbps-triggers/files/kernel-hooks +++ b/srcpkgs/xbps-triggers/files/kernel-hooks @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Run scripts found in /etc/kernel.d/ directories. # diff --git a/srcpkgs/xbps-triggers/files/mimedb b/srcpkgs/xbps-triggers/files/mimedb index 91ceec4427..70302b4a45 100755 --- a/srcpkgs/xbps-triggers/files/mimedb +++ b/srcpkgs/xbps-triggers/files/mimedb @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Updates the shared-mime-info db file with update-mime-database(1). # diff --git a/srcpkgs/xbps-triggers/files/pango-modules b/srcpkgs/xbps-triggers/files/pango-modules index 781a5300b1..608e971675 100755 --- a/srcpkgs/xbps-triggers/files/pango-modules +++ b/srcpkgs/xbps-triggers/files/pango-modules @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Updates the list of pango modules with pango-querymodules(1). # diff --git a/srcpkgs/xbps-triggers/files/register-shell b/srcpkgs/xbps-triggers/files/register-shell index 0c3cf9414e..ec0873697e 100755 --- a/srcpkgs/xbps-triggers/files/register-shell +++ b/srcpkgs/xbps-triggers/files/register-shell @@ -1,4 +1,4 @@ -#!/bin/sh -e +#!/bin/sh # # Registers or unregisters a shell in /etc/shells. # diff --git a/srcpkgs/xbps-triggers/template b/srcpkgs/xbps-triggers/template index 1218cf552b..8382eb34ec 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.71 +version=0.72 revision=1 short_desc="The XBPS triggers for Void Linux" maintainer="Juan RP "