summarylogtreecommitdiffstats
path: root/tvbrowser.install
diff options
context:
space:
mode:
Diffstat (limited to 'tvbrowser.install')
-rw-r--r--tvbrowser.install25
1 files changed, 25 insertions, 0 deletions
diff --git a/tvbrowser.install b/tvbrowser.install
new file mode 100644
index 000000000000..404acb087ed1
--- /dev/null
+++ b/tvbrowser.install
@@ -0,0 +1,25 @@
+available() {
+ which "$1" >/dev/null 2>&1
+}
+
+updateiconcache() {
+ touch --no-create /usr/share/icons/hicolor
+
+ if available gtk-update-icon-cache
+ then
+ gtk-update-icon-cache -tq /usr/share/icons/hicolor
+ fi
+}
+
+post_install() {
+ updateiconcache
+}
+
+post_upgrade() {
+ updateiconcache
+}
+
+pre_remove() {
+ updateiconcache
+}
+