termux-packages/x11-packages/gtk2/hooks/postinst.in

10 lines
224 B
Bash

#!@TERMUX_PREFIX@/bin/sh
gtk-query-immodules-2.0 --update-cache
for i in $(find "@TERMUX_PREFIX@/share/icons" -type f -iname index.theme); do
gtk-update-icon-cache --force --quiet $(dirname "${i}")
done
unset i
exit 0