diff options
Diffstat (limited to 'community/gambas3/gambas3-runtime.install')
-rw-r--r-- | community/gambas3/gambas3-runtime.install | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/community/gambas3/gambas3-runtime.install b/community/gambas3/gambas3-runtime.install new file mode 100644 index 000000000..cfb5812fe --- /dev/null +++ b/community/gambas3/gambas3-runtime.install @@ -0,0 +1,10 @@ +post_install() { + xdg-icon-resource install --context mimetypes --size 64 \ + /usr/share/gambas3/mime/application-x-gambas3.png application-x-gambas3 + xdg-mime install /usr/share/gambas3/mime/application-x-gambas3.xml +} + +pre_remove() { + xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas3 + xdg-mime uninstall /usr/share/gambas3/mime/application-x-gambas3.xml +} |