summaryrefslogtreecommitdiff
path: root/community-staging/gambas2/gambas2-runtime.install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-05-17 00:02:42 +0000
committerroot <root@rshg054.dnsready.net>2012-05-17 00:02:42 +0000
commitf675762300c4ee2717e029975bb3f94312245276 (patch)
tree3cb4f1276985f141129f7da1b3b8fad580df2ca3 /community-staging/gambas2/gambas2-runtime.install
parenta7a5f4160bb345e35c58a565494d4416f601fc17 (diff)
Thu May 17 00:02:42 UTC 2012
Diffstat (limited to 'community-staging/gambas2/gambas2-runtime.install')
-rw-r--r--community-staging/gambas2/gambas2-runtime.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/community-staging/gambas2/gambas2-runtime.install b/community-staging/gambas2/gambas2-runtime.install
new file mode 100644
index 000000000..4729f7ef6
--- /dev/null
+++ b/community-staging/gambas2/gambas2-runtime.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource install --context mimetypes --size 64 \
+ /usr/share/gambas2/mime/application-x-gambas.png application-x-gambas
+ xdg-mime install /usr/share/gambas2/mime/application-x-gambas.xml
+}
+
+pre_remove() {
+ xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas
+ xdg-mime uninstall /usr/share/gambas2/mime/application-x-gambas.xml
+}
+
+# vim:set ts=2 sw=2 et: