diff options
author | root <root@rshg054.dnsready.net> | 2012-06-26 00:01:48 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-06-26 00:01:48 +0000 |
commit | 9a6b691757346035549dbd12d1323301d04a6675 (patch) | |
tree | 5e06d2322b58a73254a0ca2c05d2083cb0209db2 /community-testing/gambas2/gambas2-runtime.install | |
parent | 3b99c42eb8ca744e86e4e17197b1bf10642c6785 (diff) |
Tue Jun 26 00:01:48 UTC 2012
Diffstat (limited to 'community-testing/gambas2/gambas2-runtime.install')
-rw-r--r-- | community-testing/gambas2/gambas2-runtime.install | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/community-testing/gambas2/gambas2-runtime.install b/community-testing/gambas2/gambas2-runtime.install new file mode 100644 index 000000000..4729f7ef6 --- /dev/null +++ b/community-testing/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: |