termux-packages/x11-packages/gtk3/hooks/postrm.in

9 lines
227 B
Bash

#!@TERMUX_PREFIX@/bin/sh
if [ -d "@TERMUX_PREFIX@/lib/gtk-3.0/3.0.0" ]; then
rm -f "@TERMUX_PREFIX@/lib/gtk-3.0/3.0.0/immodules.cache"
rmdir -p --ignore-fail-on-non-empty "@TERMUX_PREFIX@/lib/gtk-3.0/3.0.0"
fi
exit 0