termux-packages/x11-packages/qt5-base/postinst
Leonid Pliushch cedcfb3fe7
qt5-base: create symlink '$PREFIX/lib/fonts' --> '/system/fonts' if possible
Quick fix for applications that require fonts.
2022-04-18 14:08:13 +05:30

8 lines
221 B
Bash
Executable File

#!/data/data/com.termux/files/usr/bin/sh
if [ ! -e "/data/data/com.termux/files/usr/lib/fonts" ]; then
if [ -d "/system/fonts" ]; then
ln -sf /system/fonts /data/data/com.termux/files/usr/lib/fonts
fi
fi