termux-packages/x11-packages/libgtk2/postrm
2022-04-18 14:08:05 +05:30

9 lines
268 B
Bash
Executable File

#!/data/data/com.termux/files/usr/bin/sh
set -e
PREFIX="/data/data/com.termux/files/usr"
if [ -d "${PREFIX}/lib/gtk-2.0/2.10.0" ]; then
rm -f "${PREFIX}/lib/gtk-2.0/2.10.0/immodules.cache"
rmdir -p --ignore-fail-on-non-empty "${PREFIX}/lib/gtk-2.0/2.10.0"
fi