diff options
author | Federico Dossena | 2016-02-10 13:22:23 +0100 |
---|---|---|
committer | Federico Dossena | 2016-02-10 13:22:23 +0100 |
commit | 124d6df78144130a94ca87179464cec5bc3f063c (patch) | |
tree | a35c4f82d379475c153c0a9fb0792740b9927ca5 /sine.install | |
download | aur-124d6df78144130a94ca87179464cec5bc3f063c.tar.gz |
Uploaded to AUR
Diffstat (limited to 'sine.install')
-rwxr-xr-x | sine.install | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sine.install b/sine.install new file mode 100755 index 000000000000..2c087d2dc3f7 --- /dev/null +++ b/sine.install @@ -0,0 +1,11 @@ +post_install() { + cd "/usr/share/sine" + xdg-icon-resource install --context mimetypes --size 256 preset.png application-x-sine + xdg-mime install preset-mime.xml + xdg-icon-resource install --novendor --size 256 sine.png sine + xdg-icon-resource install --novendor --size 256 editor.png sine-editor +} +pre_remove() { + cd "/usr/share/sine" + xdg-mime uninstall preset-mime.xml +} |