aboutsummaryrefslogtreecommitdiffstats
path: root/main/glib/glib.trigger
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/glib/glib.trigger
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/glib/glib.trigger')
-rw-r--r--main/glib/glib.trigger3
1 files changed, 3 insertions, 0 deletions
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"