From f4bbcde9f50bf43bcbc807b0f69715fe3080f29a Mon Sep 17 00:00:00 2001 From: "David E. O'Brien" Date: Sun, 3 Nov 1996 09:40:42 +0000 Subject: Don't install the fonts that are part of the X11R6 misc fonts dist. ==> warn installer if they don't have the required fonts installed Requested by: Satoshi --- chinese/cxterm/scripts/pre-install | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'chinese/cxterm') diff --git a/chinese/cxterm/scripts/pre-install b/chinese/cxterm/scripts/pre-install index 00ffeed0a712..a03377bc3ca5 100644 --- a/chinese/cxterm/scripts/pre-install +++ b/chinese/cxterm/scripts/pre-install @@ -19,3 +19,12 @@ echo "CXTERM_AD=${PREFIX}/lib/X11/cxterm.dic/CXterm.ad" >> $CXTERM_SH echo "XFONTDIR=${PREFIX}/lib/X11/fonts/chinese" >> $CXTERM_SH echo "" >> $CXTERM_SH /bin/cat ${WRKSRC}/scripts/CXterm.sh >> $CXTERM_SH + + +# look for Simple fonts from the X11R6 misc fonts collection +if [ ! -f ${X11BASE}/lib/X11/fonts/misc/gb16st.pcf.Z ]; then + echo "" + echo "You need to install the X11R6 misc fonts in order to get the" + echo "Simple Chinese fonts." + echo "" +fi -- cgit v1.2.3