summarylogtreecommitdiffstats
path: root/gtk2.install
blob: f14e648d38bba87ad961a9eed2bf188ad15f455d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
post_install() {
    /usr/bin/gtk-query-immodules-2.0 --update-cache
}

pre_upgrade() {
    if (( $(vercmp $2 2.24.20) < 0 )); then
        rm -f /etc/gtk-2.0/gtk.immodules
    fi
}

post_upgrade() {
    post_install
}

pre_remove() {
    rm -f /usr/lib/gtk-2.0/2.10.0/immodules.cache
}