summaryrefslogtreecommitdiffstats
path: root/main/shared-mime-info
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-03-31 07:22:56 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-03-31 09:15:35 +0000
commitb74898674e474c863aafe0562e70ac7db20981b4 (patch)
tree3cf92dafcd8172040ffe574e3c1480a39c684e89 /main/shared-mime-info
parent656ca510ab5320e467313b1bb73893138463ead6 (diff)
downloadaports-b74898674e474c863aafe0562e70ac7db20981b4.tar.bz2
aports-b74898674e474c863aafe0562e70ac7db20981b4.tar.xz
main/shared-mime-info: only run sync once
Diffstat (limited to 'main/shared-mime-info')
-rw-r--r--main/shared-mime-info/APKBUILD2
-rw-r--r--main/shared-mime-info/shared-mime-info.trigger2
2 files changed, 2 insertions, 2 deletions
diff --git a/main/shared-mime-info/APKBUILD b/main/shared-mime-info/APKBUILD
index 4bf5a93de..22b5f26ba 100644
--- a/main/shared-mime-info/APKBUILD
+++ b/main/shared-mime-info/APKBUILD
@@ -1,7 +1,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=shared-mime-info
pkgver=1.2
-pkgrel=1
+pkgrel=2
pkgdesc="Freedesktop.org Shared MIME Info"
url="http://freedesktop.org/Software/shared-mime-info"
arch="all"
diff --git a/main/shared-mime-info/shared-mime-info.trigger b/main/shared-mime-info/shared-mime-info.trigger
index 82526ff42..be5371242 100644
--- a/main/shared-mime-info/shared-mime-info.trigger
+++ b/main/shared-mime-info/shared-mime-info.trigger
@@ -3,6 +3,6 @@
for i in "$@"; do
if [ -d "$i" ]; then
update-mime-database "$i" > /dev/null 2>&1
- sync
fi
done
+sync