mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-02-04 02:27:14 +08:00
17 lines
431 B
Plaintext
17 lines
431 B
Plaintext
|
post_install() {
|
||
|
extra/usr/bin/gtk-query-immodules-3.0 --update-cache &>/dev/null
|
||
|
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas &>/dev/null
|
||
|
}
|
||
|
|
||
|
post_upgrade() {
|
||
|
post_install
|
||
|
}
|
||
|
|
||
|
pre_remove() {
|
||
|
rm -f usr/lib/gtk-3.0/3.0.0/immodules.cache &>/dev/null
|
||
|
rm -f extra/usr/lib/gtk-3.0/3.0.0/immodules.cache &>/dev/null
|
||
|
}
|
||
|
post_remove() {
|
||
|
usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas &>/dev/null
|
||
|
}
|