xbps-triggers: fix gtk-immodules (create required dir if it doesn't exist).
This commit is contained in:
parent
f17c6b337a
commit
0e695c5efb
2 changed files with 5 additions and 2 deletions
srcpkgs/xbps-triggers
|
@ -32,6 +32,9 @@ run)
|
||||||
post-*)
|
post-*)
|
||||||
if [ -x ${immodules_bin} ]; then
|
if [ -x ${immodules_bin} ]; then
|
||||||
echo "Updating GTK's immodules database..."
|
echo "Updating GTK's immodules database..."
|
||||||
|
if [ ! -d $(dirname $immodules_db) ]; then
|
||||||
|
install -d $(dirname $immodules_db)
|
||||||
|
fi
|
||||||
${immodules_bin} > ${immodules_db}
|
${immodules_bin} > ${immodules_db}
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'xbps-triggers'
|
# Template file for 'xbps-triggers'
|
||||||
pkgname=xbps-triggers
|
pkgname=xbps-triggers
|
||||||
version=0.68
|
version=0.70
|
||||||
revision=1
|
revision=1
|
||||||
short_desc="The XBPS triggers for Void Linux"
|
short_desc="The XBPS triggers for Void Linux"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
|
@ -26,8 +26,8 @@ do_install() {
|
||||||
|
|
||||||
xbps-triggers_package() {
|
xbps-triggers_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
|
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr
|
vmove usr
|
||||||
|
vmove var
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue