diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-05 07:43:07 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2013-12-05 07:43:07 +0000 |
commit | 42764506832a5e41f6190a9c384211ccb1167c38 (patch) | |
tree | 9953450432bdbf6a341e5d6a181b1563bfb5d0b8 /main/glib | |
parent | 519297f953771304c18fc27114962b373ef79139 (diff) | |
download | aports-42764506832a5e41f6190a9c384211ccb1167c38.tar.bz2 aports-42764506832a5e41f6190a9c384211ccb1167c38.tar.xz |
main/glib: fix trigger to not exit with error on uninstall
Diffstat (limited to 'main/glib')
-rw-r--r-- | main/glib/APKBUILD | 2 | ||||
-rw-r--r-- | main/glib/glib.trigger | 3 |
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" |