summaryrefslogtreecommitdiff
path: root/libre/cool-retro-term/cool-retro-term.install
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-01 03:35:43 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2015-06-01 03:35:43 -0300
commitf49ff0feb587c6d08786ff220d700ce54add2f7d (patch)
tree9da7ae2b1cf06b890136cfaaaa0566130391d2e4 /libre/cool-retro-term/cool-retro-term.install
parent04a66161d64d690f4a89c8a2ff5a0c15f4bbb81a (diff)
downloadabslibre-f49ff0feb587c6d08786ff220d700ce54add2f7d.tar.gz
abslibre-f49ff0feb587c6d08786ff220d700ce54add2f7d.tar.bz2
abslibre-f49ff0feb587c6d08786ff220d700ce54add2f7d.zip
cool-retro-term: add new package to [libre] -> https://labs.parabola.nu/issues/730
Diffstat (limited to 'libre/cool-retro-term/cool-retro-term.install')
-rw-r--r--libre/cool-retro-term/cool-retro-term.install12
1 files changed, 12 insertions, 0 deletions
diff --git a/libre/cool-retro-term/cool-retro-term.install b/libre/cool-retro-term/cool-retro-term.install
new file mode 100644
index 000000000..2771fcd65
--- /dev/null
+++ b/libre/cool-retro-term/cool-retro-term.install
@@ -0,0 +1,12 @@
+post_install() {
+ [[ -x /usr/bin/xdg-icon-resource ]] && xdg-icon-resource forceupdate --theme hicolor || \
+ ( [[ -x /usr/bin/gtk-update-icon-cache ]] && gtk-update-icon-cache )
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}