diff options
author | Gaetan Bisson | 2015-06-08 14:28:00 -1000 |
---|---|---|
committer | Gaetan Bisson | 2015-06-08 14:28:00 -1000 |
commit | 146e643e49ebe12df5e973224e7c5686ac3e6e0a (patch) | |
tree | 3fed2f61bc307b5c9b30ae3253d4241492db1ed6 /gpxviewer.install | |
download | aur-146e643e49ebe12df5e973224e7c5686ac3e6e0a.tar.gz |
initial commit
Diffstat (limited to 'gpxviewer.install')
-rw-r--r-- | gpxviewer.install | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/gpxviewer.install b/gpxviewer.install new file mode 100644 index 000000000000..44dba270c8cb --- /dev/null +++ b/gpxviewer.install @@ -0,0 +1,13 @@ +post_install() { + gtk-update-icon-cache -q -f -t usr/share/icons/hicolor + [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime + [ -x `which update-desktop-database` ] && update-desktop-database -q + /bin/true +} + +post_remove() { + gtk-update-icon-cache -q -f -t usr/share/icons/hicolor + [ -x `which update-mime-database` ] && update-mime-database /usr/share/mime + [ -x `which update-desktop-database` ] && update-desktop-database -q + /bin/true +} |