X-Git-Url: http://gitweb/?a=blobdiff_plain;f=rc%2Frc.fix;h=cf0dafbebb68bb921c91ba7c297f8fa7d10b498a;hb=b2d952c7f85ccb953bd7971d036b05355da1d215;hp=c0303c0300a193ce5ef3467254067906693b31c7;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;p=crossrootfs.git diff --git a/rc/rc.fix b/rc/rc.fix old mode 100755 new mode 100644 index c0303c0..cf0dafb --- a/rc/rc.fix +++ b/rc/rc.fix @@ -7,8 +7,8 @@ ####################################################################### # X11 font-related checks ####################################################################### -if [ -d /usr/lib/X11/fonts ]; then - for i in `/bin/ls -d /usr/lib/X11/fonts/*`; do +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 @@ -17,7 +17,7 @@ if [ -d /usr/lib/X11/fonts ]; then fi if [ -d /var/cache/fontconfig ] && [ -z "`/bin/ls /var/cache/fontconfig/`" ]; then - fc-cache &> /dev/null + fc-cache --system-only &> /dev/null fi