summaryrefslogtreecommitdiff
path: root/community-testing/gambas3/gambas3-runtime.install
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-05-31 22:46:59 +0000
committerroot <root@rshg047.dnsready.net>2011-05-31 22:46:59 +0000
commitc40a217db5f63be3aa88a32ad77ec93efb40d95c (patch)
treebb98d36456ecf48105be6f0bd57c480eb8f32619 /community-testing/gambas3/gambas3-runtime.install
parenta422536e1ba326bff507ba81859c784a135d1804 (diff)
Tue May 31 22:46:59 UTC 2011
Diffstat (limited to 'community-testing/gambas3/gambas3-runtime.install')
-rw-r--r--community-testing/gambas3/gambas3-runtime.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/community-testing/gambas3/gambas3-runtime.install b/community-testing/gambas3/gambas3-runtime.install
new file mode 100644
index 000000000..c6aad0d55
--- /dev/null
+++ b/community-testing/gambas3/gambas3-runtime.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource install --context mimetypes --size 64 \
+ /usr/share/gambas3/mime/application-x-gambas.png application-x-gambas
+ xdg-mime install /usr/share/gambas3/mime/application-x-gambas.xml
+}
+
+pre_remove() {
+ xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas
+ xdg-mime uninstall /usr/share/gambas3/mime/application-x-gambas.xml
+}
+
+# vim:set ts=2 sw=2 et: