Commit | Line | Data |
---|---|---|
6dca1d21 JB |
1 | #!/bin/bash |
2 | # | |
3 | # /etc/rc.fix: adjustements startup file (multi-user) | |
4 | # | |
5 | ||
6 | ||
7 | ####################################################################### | |
8 | # X11 font-related checks | |
9 | ####################################################################### | |
dec3d7f0 VM |
10 | if [ -d /usr/share/fonts/X11 ]; then |
11 | for i in `/bin/ls -d /usr/share/fonts/X11/*`; do | |
6dca1d21 JB |
12 | if [ ! -f $i/fonts.dir ]; then |
13 | mkfontdir $i &> /dev/null | |
14 | mkfontscale $i &> /dev/null | |
15 | fi | |
16 | done | |
17 | fi | |
18 | ||
19 | if [ -d /var/cache/fontconfig ] && [ -z "`/bin/ls /var/cache/fontconfig/`" ]; then | |
20 | fc-cache &> /dev/null | |
21 | fi | |
22 | ||
23 | ||
24 | # End of file |