diff options
author | avion | 2016-10-06 15:59:42 +1300 |
---|---|---|
committer | avion | 2016-10-06 15:59:42 +1300 |
commit | 5e3f9b1c77f4dea7f1efb9f02064284393c59609 (patch) | |
tree | 6e545683249308e2de142d0c68fd214cf85192cb /desktime.install | |
download | aur-5e3f9b1c77f4dea7f1efb9f02064284393c59609.tar.gz |
Add desktime linux beta package for archlinux
Diffstat (limited to 'desktime.install')
-rw-r--r-- | desktime.install | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/desktime.install b/desktime.install new file mode 100644 index 000000000000..3eaf04c1d548 --- /dev/null +++ b/desktime.install @@ -0,0 +1,19 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches /usr/share/icons/desktime.png + fi + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + if which update-icon-caches >/dev/null 2>&1 ; then + update-icon-caches /usr/share/icons/desktime.png + fi + update-desktop-database -q +} |