diff options
author | DaveB | 2018-08-22 14:36:41 +0200 |
---|---|---|
committer | DaveB | 2018-08-22 14:36:41 +0200 |
commit | 1eb7b57ba373eeb9414db9c022c5ca0d377f6453 (patch) | |
tree | b168f9d460cbd920ac2283a83d6c7af51aa32509 /memsource-editor.install | |
parent | 5c3d8060b3c96004fc0901f77063e103656992e3 (diff) | |
download | aur-1eb7b57ba373eeb9414db9c022c5ca0d377f6453.tar.gz |
Fixed mime types
Diffstat (limited to 'memsource-editor.install')
-rw-r--r-- | memsource-editor.install | 16 |
1 files changed, 2 insertions, 14 deletions
diff --git a/memsource-editor.install b/memsource-editor.install index ae4b312ffd6d..ce56b6debf0f 100644 --- a/memsource-editor.install +++ b/memsource-editor.install @@ -1,21 +1,9 @@ post_install() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor + gtk-update-icon-cache -t -f /usr/share/icons/hicolor update-mime-database /usr/share/mime - update-desktop-database -q - for sz in 16 24 32 36 48 64 96 128 192 256 - do - xdg-icon-resource install --size $sz --context mimetypes \ - /usr/share/icons/hicolor/${sz}x${sz}/mimetypes/application-x-memsource-editor.png \ - application-x-memsource-editor - done - xdg-mime install /usr/share/mime/application/x-memsource-editor.xml + update-desktop-database } post_remove() { post_install - for sz in 16 24 32 36 48 64 96 128 192 256 - do - xdg-icon-resource uninstall --size $sz --context mimetypes application-x-memsource-editor - done - xdg-mime uninstall /usr/share/mime/application/x-memsource-editor.xml } |