summaryrefslogtreecommitdiffstats
path: root/source/x/x11/doinst.sh/font-misc-ethiopic
diff options
context:
space:
mode:
Diffstat (limited to 'source/x/x11/doinst.sh/font-misc-ethiopic')
-rw-r--r--source/x/x11/doinst.sh/font-misc-ethiopic14
1 files changed, 5 insertions, 9 deletions
diff --git a/source/x/x11/doinst.sh/font-misc-ethiopic b/source/x/x11/doinst.sh/font-misc-ethiopic
index b7227e907..228c73f52 100644
--- a/source/x/x11/doinst.sh/font-misc-ethiopic
+++ b/source/x/x11/doinst.sh/font-misc-ethiopic
@@ -1,15 +1,11 @@
#!/bin/sh
# Update the X font indexes:
if [ -x /usr/bin/mkfontdir -o -x /usr/X11R6/bin/mkfontdir ]; then
- ( cd /usr/share/fonts/OTF
- mkfontscale .
- mkfontdir .
- )
- ( cd /usr/share/fonts/TTF
- mkfontscale .
- mkfontdir .
- )
+ mkfontscale usr/share/fonts/OTF 2> /dev/null
+ mkfontdir usr/share/fonts/OTF 2> /dev/null
+ mkfontscale usr/share/fonts/TTF 2> /dev/null
+ mkfontdir usr/share/fonts/TTF 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