summarylogtreecommitdiffstats
path: root/tvbrowser.install
blob: 404acb087ed1322abde63240950541b4a2ba646e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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
}