You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
25 lines
614 B
25 lines
614 B
#!/bin/zsh
|
|
#
|
|
# /etc/rc.fix: adjustements startup file (multi-user)
|
|
#
|
|
|
|
|
|
#######################################################################
|
|
# X11 font-related checks
|
|
#######################################################################
|
|
if [ -d /usr/share/fonts/X11 ]; then
|
|
for i in `/bin/ls -d /usr/share/fonts/X11/*`; do
|
|
if [ ! -f $i/fonts.dir ]; then
|
|
mkfontdir $i &> /dev/null
|
|
mkfontscale $i &> /dev/null
|
|
fi
|
|
done
|
|
fi
|
|
|
|
if [ -d /var/cache/fontconfig ] && [ -z "`/bin/ls /var/cache/fontconfig/`" ]; then
|
|
fc-cache --system-only &> /dev/null
|
|
fi
|
|
|
|
|
|
# End of file
|