2018-09-21 00:09:35 +02:00
|
|
|
#!/data/data/com.termux/files/usr/bin/sh
|
|
|
|
|
2018-09-21 21:55:45 +02:00
|
|
|
PREFIX="/data/data/com.termux/files/usr"
|
|
|
|
|
|
|
|
if [ ! -e "${PREFIX}/lib/fonts" ]; then
|
2018-09-23 20:48:34 +02:00
|
|
|
ln -sf "${PREFIX}/share/fonts/TTF" "${PREFIX}/lib/fonts"
|
2018-09-21 21:55:45 +02:00
|
|
|
else
|
|
|
|
if [ -h "${PREFIX}/lib/fonts" ]; then
|
|
|
|
rm -f "${PREFIX}/lib/fonts"
|
2018-09-23 20:48:34 +02:00
|
|
|
ln -sf "${PREFIX}/share/fonts/TTF" "${PREFIX}/lib/fonts"
|
2018-09-21 00:09:35 +02:00
|
|
|
fi
|
|
|
|
fi
|