summarylogtreecommitdiffstats
path: root/gtk3.install
blob: d2e16cb8814ef39d4502c8256492dd98de70bd9c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
post_install() {
    /usr/bin/gtk-query-immodules-3.0 --update-cache
    /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
    printf 'Use GTK_CSD=1 to enable the CSD where the CSD can be used.\n'
}

post_upgrade() {
    post_install
}

pre_remove() {
    rm -f /usr/lib/gtk-3.0/3.0.0/immodules.cache
}

post_remove() {
    /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
    /usr/bin/gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor
}