xbps-triggers: fix gtk-immodules (create required dir if it doesn't exist).

This commit is contained in:
Juan RP 2013-04-13 12:31:55 +02:00
parent f17c6b337a
commit 0e695c5efb
2 changed files with 5 additions and 2 deletions

View File

@ -32,6 +32,9 @@ run)
post-*)
if [ -x ${immodules_bin} ]; then
echo "Updating GTK's immodules database..."
if [ ! -d $(dirname $immodules_db) ]; then
install -d $(dirname $immodules_db)
fi
${immodules_bin} > ${immodules_db}
fi
;;

View File

@ -1,6 +1,6 @@
# Template file for 'xbps-triggers'
pkgname=xbps-triggers
version=0.68
version=0.70
revision=1
short_desc="The XBPS triggers for Void Linux"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -26,8 +26,8 @@ do_install() {
xbps-triggers_package() {
noarch=yes
pkg_install() {
vmove usr
vmove var
}
}