15 lines
410 B
Bash
Executable File
15 lines
410 B
Bash
Executable File
#!/data/data/com.termux/files/usr/bin/sh
|
|
|
|
PREFIX="/data/data/com.termux/files/usr"
|
|
|
|
if [ ! -e "${PREFIX}/lib/fonts" ]; then
|
|
ln -sf "${PREFIX}/share/fonts" "${PREFIX}/lib/fonts"
|
|
else
|
|
## In previous versions we used '/system/fonts' as
|
|
## font source.
|
|
if [ -h "${PREFIX}/lib/fonts" ]; then
|
|
rm -f "${PREFIX}/lib/fonts"
|
|
ln -sf "${PREFIX}/share/fonts" "${PREFIX}/lib/fonts"
|
|
fi
|
|
fi
|