aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2013-12-05 07:43:07 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-12-05 07:43:07 +0000
commit42764506832a5e41f6190a9c384211ccb1167c38 (patch)
tree9953450432bdbf6a341e5d6a181b1563bfb5d0b8 /main
parent519297f953771304c18fc27114962b373ef79139 (diff)
downloadaports-42764506832a5e41f6190a9c384211ccb1167c38.tar.bz2
aports-42764506832a5e41f6190a9c384211ccb1167c38.tar.xz
main/glib: fix trigger to not exit with error on uninstall
Diffstat (limited to 'main')
-rw-r--r--main/glib/APKBUILD2
-rw-r--r--main/glib/glib.trigger3
2 files changed, 4 insertions, 1 deletions
diff --git a/main/glib/APKBUILD b/main/glib/APKBUILD
index e1dd8eb9fe..97eb2719d9 100644
--- a/main/glib/APKBUILD
+++ b/main/glib/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=glib
pkgver=2.38.1
-pkgrel=0
+pkgrel=1
pkgdesc="Common C routines used by Gtk+ and other libs"
url="http://www.gtk.org"
arch="all"
diff --git a/main/glib/glib.trigger b/main/glib/glib.trigger
index 04b9f5bd42..cf23eff7d1 100644
--- a/main/glib/glib.trigger
+++ b/main/glib/glib.trigger
@@ -1,6 +1,9 @@
#!/bin/sh
for i in "$@"; do
+ if ! [ -e "$i" ]; then
+ continue
+ fi
case "$i" in
*/modules)
/usr/bin/gio-querymodules "$i"