aboutsummaryrefslogtreecommitdiff
path: root/chinese/cmexfonts/pkg-install
diff options
context:
space:
mode:
Diffstat (limited to 'chinese/cmexfonts/pkg-install')
-rw-r--r--chinese/cmexfonts/pkg-install28
1 files changed, 0 insertions, 28 deletions
diff --git a/chinese/cmexfonts/pkg-install b/chinese/cmexfonts/pkg-install
deleted file mode 100644
index ef6f5aeba68c..000000000000
--- a/chinese/cmexfonts/pkg-install
+++ /dev/null
@@ -1,28 +0,0 @@
-#!/bin/sh
-set -e
-
-fontdir="/usr/X11R6/lib/X11/fonts/local"
-
-# Add FontPath to /etc/X11/XF86Config
-
-if [ -f /etc/X11/XF86Config ]
-then
- if ! grep -q "^ *FontPath *[\"']$fontdir/" /etc/X11/XF86Config
- then
- echo "Adding FontPath \"$fontdir\" to /etc/X11/XF86Config ..."
- tmpfile="/tmp/tempfile"
- sed -e '/Section "Files"/,/EndSection/{
-/EndSection/i\
- FontPath \"'$fontdir'/:unscaled\"\
- FontPath \"'$fontdir'/\"
-}' /etc/X11/XF86Config >> $tmpfile
- mv -f $tmpfile /etc/X11/XF86Config
- else
- echo "Having FontPath \"$fontdir\" to /etc/X11/XF86Config ..."
- fi
-else
- echo "/etc/X11/XF86Config not found!"
- echo "You need to add"
- echo " FontPath \"$fontdir/:unscaled\""
- echo "to /etc/X11/XF86Config yourself in order to use the font."
-fi