summaryrefslogtreecommitdiff
path: root/source/x/x11/doinst.sh/font-isas-misc
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/doinst.sh/font-isas-misc')
-rw-r--r--source/x/x11/doinst.sh/font-isas-misc8
1 files changed, 3 insertions, 5 deletions
diff --git a/source/x/x11/doinst.sh/font-isas-misc b/source/x/x11/doinst.sh/font-isas-misc
index 63055f0e..d1a214ba 100644
--- a/source/x/x11/doinst.sh/font-isas-misc
+++ b/source/x/x11/doinst.sh/font-isas-misc
@@ -1,11 +1,9 @@
#!/bin/sh
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/misc
- mkfontscale .
- mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
- )
+ mkfontscale usr/share/fonts/misc 2> /dev/null
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large usr/share/fonts/misc 2> /dev/null
fi
if [ -x /usr/bin/fc-cache ]; then
- /usr/bin/fc-cache -f
+ /usr/bin/fc-cache -f 2> /dev/null
fi