summaryrefslogtreecommitdiff
path: root/community-testing/gambas3/gambas3.install
diff options
context:
space:
mode:
Diffstat (limited to 'community-testing/gambas3/gambas3.install')
-rw-r--r--community-testing/gambas3/gambas3.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/community-testing/gambas3/gambas3.install b/community-testing/gambas3/gambas3.install
new file mode 100644
index 000000000..c6aad0d55
--- /dev/null
+++ b/community-testing/gambas3/gambas3.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: