mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
fontconfig: remove userfonts hack
This commit is contained in:
parent
2145dafca0
commit
fd3a6c6674
@ -24,15 +24,7 @@
|
||||
|
||||
FC_CACHE_DIRS="/usr/share/fonts/ /usr/share/xbmc/media/Fonts/"
|
||||
|
||||
# hack to support user installed fonts
|
||||
SUBFONTS="/storage/.xbmc/userdata/fonts"
|
||||
if [ -d "$SUBFONTS" ]; then
|
||||
files=$(ls $SUBFONTS/*.[tT][tT][fF] 2>/dev/null | wc -l)
|
||||
if [ "$files" = "0" ]; then
|
||||
cp /usr/share/xbmc/media/Fonts/*.[tT][tT][fF] $SUBFONTS/
|
||||
fi
|
||||
mount --bind $SUBFONTS /usr/share/xbmc/media/Fonts/
|
||||
fi
|
||||
# TODO: add /storage/.xbmc/media/Fonts to $FC_CACHE_DIRS ?
|
||||
|
||||
(
|
||||
progress "Creating fontconfig cache"
|
||||
|
Loading…
x
Reference in New Issue
Block a user