summaryrefslogtreecommitdiffstats
path: root/abs/core-testing/shared-mime-info/shared-mime-info.install
diff options
context:
space:
mode:
authorJames Meyer <james.meyer@operamail.com>2009-03-14 18:16:04 (GMT)
committerJames Meyer <james.meyer@operamail.com>2009-03-14 18:16:04 (GMT)
commit32c5d2233aa14d2a0a1d3d81ecd28652cd548f07 (patch)
tree13a366de5c4e5df38b0ed28fe667b569a3e96896 /abs/core-testing/shared-mime-info/shared-mime-info.install
parentd1619a5abc60f3d9e7d3dad588ff1b92bb23e624 (diff)
downloadlinhes_pkgbuild-32c5d2233aa14d2a0a1d3d81ecd28652cd548f07.zip
linhes_pkgbuild-32c5d2233aa14d2a0a1d3d81ecd28652cd548f07.tar.gz
linhes_pkgbuild-32c5d2233aa14d2a0a1d3d81ecd28652cd548f07.tar.bz2
Moving shared-mime-info to core-testing.
gtk2 depends on it, so this removed a cross repo dependency.
Diffstat (limited to 'abs/core-testing/shared-mime-info/shared-mime-info.install')
-rw-r--r--abs/core-testing/shared-mime-info/shared-mime-info.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/abs/core-testing/shared-mime-info/shared-mime-info.install b/abs/core-testing/shared-mime-info/shared-mime-info.install
new file mode 100644
index 0000000..6b06094
--- /dev/null
+++ b/abs/core-testing/shared-mime-info/shared-mime-info.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-mime-database /usr/share/mime > /dev/null 2>&1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+op=$1
+shift
+
+$op $*