summaryrefslogtreecommitdiffstats
path: root/source/x/x11/doinst.sh
diff options
context:
space:
mode:
author Patrick J Volkerding <volkerdi@slackware.com>2009-08-26 10:00:38 -0500
committer Eric Hameleers <alien@slackware.com>2018-05-31 22:41:17 +0200
commit5a12e7c134274dba706667107d10d231517d3e05 (patch)
tree55718d5acb710fde798d9f38d0bbaf594ed4b296 /source/x/x11/doinst.sh
downloadcurrent-5a12e7c134274dba706667107d10d231517d3e05.tar.gz
current-5a12e7c134274dba706667107d10d231517d3e05.tar.xz
Slackware 13.0slackware-13.0
Wed Aug 26 10:00:38 CDT 2009 Slackware 13.0 x86_64 is released as stable! Thanks to everyone who helped make this release possible -- see the RELEASE_NOTES for the credits. The ISOs are off to the replicator. This time it will be a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. We're taking pre-orders now at store.slackware.com. Please consider picking up a copy to help support the project. Once again, thanks to the entire Slackware community for all the help testing and fixing things and offering suggestions during this development cycle. As always, have fun and enjoy! -P.
Diffstat (limited to 'source/x/x11/doinst.sh')
-rw-r--r--source/x/x11/doinst.sh/font-adobe-100dpi11
-rw-r--r--source/x/x11/doinst.sh/font-adobe-75dpi11
-rw-r--r--source/x/x11/doinst.sh/font-adobe-utopia-100dpi11
-rw-r--r--source/x/x11/doinst.sh/font-adobe-utopia-75dpi11
-rw-r--r--source/x/x11/doinst.sh/font-adobe-utopia-type111
-rw-r--r--source/x/x11/doinst.sh/font-arabic-misc11
-rw-r--r--source/x/x11/doinst.sh/font-bh-100dpi11
-rw-r--r--source/x/x11/doinst.sh/font-bh-75dpi11
-rw-r--r--source/x/x11/doinst.sh/font-bh-lucidatypewriter-100dpi11
-rw-r--r--source/x/x11/doinst.sh/font-bh-lucidatypewriter-75dpi11
-rw-r--r--source/x/x11/doinst.sh/font-bh-ttf11
-rw-r--r--source/x/x11/doinst.sh/font-bh-type111
-rw-r--r--source/x/x11/doinst.sh/font-bitstream-100dpi11
-rw-r--r--source/x/x11/doinst.sh/font-bitstream-75dpi11
-rw-r--r--source/x/x11/doinst.sh/font-bitstream-speedo11
-rw-r--r--source/x/x11/doinst.sh/font-bitstream-type111
-rw-r--r--source/x/x11/doinst.sh/font-cronyx-cyrillic11
-rw-r--r--source/x/x11/doinst.sh/font-cursor-misc11
-rw-r--r--source/x/x11/doinst.sh/font-daewoo-misc11
-rw-r--r--source/x/x11/doinst.sh/font-dec-misc11
-rw-r--r--source/x/x11/doinst.sh/font-ibm-type111
-rw-r--r--source/x/x11/doinst.sh/font-isas-misc11
-rw-r--r--source/x/x11/doinst.sh/font-jis-misc11
-rw-r--r--source/x/x11/doinst.sh/font-micro-misc11
-rw-r--r--source/x/x11/doinst.sh/font-misc-cyrillic11
-rw-r--r--source/x/x11/doinst.sh/font-misc-ethiopic15
-rw-r--r--source/x/x11/doinst.sh/font-misc-meltho11
-rw-r--r--source/x/x11/doinst.sh/font-misc-misc11
-rw-r--r--source/x/x11/doinst.sh/font-mutt-misc11
-rw-r--r--source/x/x11/doinst.sh/font-schumacher-misc11
-rw-r--r--source/x/x11/doinst.sh/font-screen-cyrillic11
-rw-r--r--source/x/x11/doinst.sh/font-sony-misc11
-rw-r--r--source/x/x11/doinst.sh/font-sun-misc11
-rw-r--r--source/x/x11/doinst.sh/font-winitzki-cyrillic11
-rw-r--r--source/x/x11/doinst.sh/font-xfree86-type111
-rw-r--r--source/x/x11/doinst.sh/xdm15
-rw-r--r--source/x/x11/doinst.sh/xfs14
-rw-r--r--source/x/x11/doinst.sh/xinit5
-rw-r--r--source/x/x11/doinst.sh/xkeyboard-config7
-rw-r--r--source/x/x11/doinst.sh/xorg-cf-files5
40 files changed, 435 insertions, 0 deletions
diff --git a/source/x/x11/doinst.sh/font-adobe-100dpi b/source/x/x11/doinst.sh/font-adobe-100dpi
new file mode 100644
index 000000000..aa6445d1d
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-adobe-100dpi
@@ -0,0 +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/100dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-adobe-75dpi b/source/x/x11/doinst.sh/font-adobe-75dpi
new file mode 100644
index 000000000..94bb53e84
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-adobe-75dpi
@@ -0,0 +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/75dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-adobe-utopia-100dpi b/source/x/x11/doinst.sh/font-adobe-utopia-100dpi
new file mode 100644
index 000000000..aa6445d1d
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-adobe-utopia-100dpi
@@ -0,0 +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/100dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-adobe-utopia-75dpi b/source/x/x11/doinst.sh/font-adobe-utopia-75dpi
new file mode 100644
index 000000000..94bb53e84
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-adobe-utopia-75dpi
@@ -0,0 +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/75dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-adobe-utopia-type1 b/source/x/x11/doinst.sh/font-adobe-utopia-type1
new file mode 100644
index 000000000..e39512692
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-adobe-utopia-type1
@@ -0,0 +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/Type1
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-arabic-misc b/source/x/x11/doinst.sh/font-arabic-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-arabic-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bh-100dpi b/source/x/x11/doinst.sh/font-bh-100dpi
new file mode 100644
index 000000000..aa6445d1d
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bh-100dpi
@@ -0,0 +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/100dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bh-75dpi b/source/x/x11/doinst.sh/font-bh-75dpi
new file mode 100644
index 000000000..94bb53e84
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bh-75dpi
@@ -0,0 +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/75dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bh-lucidatypewriter-100dpi b/source/x/x11/doinst.sh/font-bh-lucidatypewriter-100dpi
new file mode 100644
index 000000000..aa6445d1d
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bh-lucidatypewriter-100dpi
@@ -0,0 +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/100dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bh-lucidatypewriter-75dpi b/source/x/x11/doinst.sh/font-bh-lucidatypewriter-75dpi
new file mode 100644
index 000000000..94bb53e84
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bh-lucidatypewriter-75dpi
@@ -0,0 +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/75dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bh-ttf b/source/x/x11/doinst.sh/font-bh-ttf
new file mode 100644
index 000000000..bdb050188
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bh-ttf
@@ -0,0 +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/TTF
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bh-type1 b/source/x/x11/doinst.sh/font-bh-type1
new file mode 100644
index 000000000..e39512692
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bh-type1
@@ -0,0 +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/Type1
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bitstream-100dpi b/source/x/x11/doinst.sh/font-bitstream-100dpi
new file mode 100644
index 000000000..aa6445d1d
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bitstream-100dpi
@@ -0,0 +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/100dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bitstream-75dpi b/source/x/x11/doinst.sh/font-bitstream-75dpi
new file mode 100644
index 000000000..94bb53e84
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bitstream-75dpi
@@ -0,0 +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/75dpi
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bitstream-speedo b/source/x/x11/doinst.sh/font-bitstream-speedo
new file mode 100644
index 000000000..2cbbd2f1b
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bitstream-speedo
@@ -0,0 +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/Speedo
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-bitstream-type1 b/source/x/x11/doinst.sh/font-bitstream-type1
new file mode 100644
index 000000000..e39512692
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-bitstream-type1
@@ -0,0 +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/Type1
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-cronyx-cyrillic b/source/x/x11/doinst.sh/font-cronyx-cyrillic
new file mode 100644
index 000000000..960dd9458
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-cronyx-cyrillic
@@ -0,0 +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/cyrillic
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-cursor-misc b/source/x/x11/doinst.sh/font-cursor-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-cursor-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-daewoo-misc b/source/x/x11/doinst.sh/font-daewoo-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-daewoo-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-dec-misc b/source/x/x11/doinst.sh/font-dec-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-dec-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-ibm-type1 b/source/x/x11/doinst.sh/font-ibm-type1
new file mode 100644
index 000000000..e39512692
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-ibm-type1
@@ -0,0 +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/Type1
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-isas-misc b/source/x/x11/doinst.sh/font-isas-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-isas-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-jis-misc b/source/x/x11/doinst.sh/font-jis-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-jis-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-micro-misc b/source/x/x11/doinst.sh/font-micro-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-micro-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-misc-cyrillic b/source/x/x11/doinst.sh/font-misc-cyrillic
new file mode 100644
index 000000000..960dd9458
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-misc-cyrillic
@@ -0,0 +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/cyrillic
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-misc-ethiopic b/source/x/x11/doinst.sh/font-misc-ethiopic
new file mode 100644
index 000000000..b7227e907
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-misc-ethiopic
@@ -0,0 +1,15 @@
+#!/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 .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-misc-meltho b/source/x/x11/doinst.sh/font-misc-meltho
new file mode 100644
index 000000000..0c434b5ae
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-misc-meltho
@@ -0,0 +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 .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-misc-misc b/source/x/x11/doinst.sh/font-misc-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-misc-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-mutt-misc b/source/x/x11/doinst.sh/font-mutt-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-mutt-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-schumacher-misc b/source/x/x11/doinst.sh/font-schumacher-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-schumacher-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-screen-cyrillic b/source/x/x11/doinst.sh/font-screen-cyrillic
new file mode 100644
index 000000000..960dd9458
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-screen-cyrillic
@@ -0,0 +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/cyrillic
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-sony-misc b/source/x/x11/doinst.sh/font-sony-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-sony-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-sun-misc b/source/x/x11/doinst.sh/font-sun-misc
new file mode 100644
index 000000000..63055f0e1
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-sun-misc
@@ -0,0 +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/misc
+ mkfontscale .
+ mkfontdir -e /usr/share/fonts/encodings -e /usr/share/fonts/encodings/large .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-winitzki-cyrillic b/source/x/x11/doinst.sh/font-winitzki-cyrillic
new file mode 100644
index 000000000..960dd9458
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-winitzki-cyrillic
@@ -0,0 +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/cyrillic
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/font-xfree86-type1 b/source/x/x11/doinst.sh/font-xfree86-type1
new file mode 100644
index 000000000..e39512692
--- /dev/null
+++ b/source/x/x11/doinst.sh/font-xfree86-type1
@@ -0,0 +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/Type1
+ mkfontscale .
+ mkfontdir .
+ )
+fi
+if [ -x /usr/bin/fc-cache ]; then
+ /usr/bin/fc-cache -f
+fi
diff --git a/source/x/x11/doinst.sh/xdm b/source/x/x11/doinst.sh/xdm
new file mode 100644
index 000000000..bb08dc5f2
--- /dev/null
+++ b/source/x/x11/doinst.sh/xdm
@@ -0,0 +1,15 @@
+#!/bin/sh
+config() {
+ NEW="$1"
+ OLD="`dirname $NEW`/`basename $NEW .new`"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "`cat $OLD | md5sum`" = "`cat $NEW | md5sum`" ]; then # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+config etc/X11/xdm/xdm-config.new
+config etc/X11/xdm/Xservers.new
+config etc/X11/xdm/Xsession.new
diff --git a/source/x/x11/doinst.sh/xfs b/source/x/x11/doinst.sh/xfs
new file mode 100644
index 000000000..2b67221c2
--- /dev/null
+++ b/source/x/x11/doinst.sh/xfs
@@ -0,0 +1,14 @@
+config() {
+ NEW="$1"
+ OLD="$(dirname $NEW)/$(basename $NEW .new)"
+ # If there's no config file by that name, mv it over:
+ if [ ! -r $OLD ]; then
+ mv $NEW $OLD
+ elif [ "$(cat $OLD | md5sum)" = "$(cat $NEW | md5sum)" ]; then
+ # toss the redundant copy
+ rm $NEW
+ fi
+ # Otherwise, we leave the .new copy for the admin to consider...
+}
+config etc/X11/fs/config.new
+
diff --git a/source/x/x11/doinst.sh/xinit b/source/x/x11/doinst.sh/xinit
new file mode 100644
index 000000000..de90b8f2c
--- /dev/null
+++ b/source/x/x11/doinst.sh/xinit
@@ -0,0 +1,5 @@
+# We can't leave people with nothing, so we'll have to set
+# a probable default:
+if [ ! -r etc/X11/xinit/xinitrc ]; then
+ ( cd etc/X11/xinit ; ln -sf xinitrc.kde xinitrc )
+fi
diff --git a/source/x/x11/doinst.sh/xkeyboard-config b/source/x/x11/doinst.sh/xkeyboard-config
new file mode 100644
index 000000000..2b47d6d91
--- /dev/null
+++ b/source/x/x11/doinst.sh/xkeyboard-config
@@ -0,0 +1,7 @@
+# This has to assume the use of upgradepkg to work.
+# Ever wondered why we install new packages twice?
+# Here's an example:
+if [ -d etc/X11/xkb/symbols/pc ]; then
+ mv etc/X11/xkb etc/X11/xkb.old.bak.$$
+ mkdir -p etc/X11/xkb/rules etc/X11/xkb
+fi
diff --git a/source/x/x11/doinst.sh/xorg-cf-files b/source/x/x11/doinst.sh/xorg-cf-files
new file mode 100644
index 000000000..6711f9f9b
--- /dev/null
+++ b/source/x/x11/doinst.sh/xorg-cf-files
@@ -0,0 +1,5 @@
+#!/bin/sh
+# Make sure there is a host.def, but don't mess with the
+# contents, as the lesstif package may have already installed
+# things in this file. Normally it ships empty.
+touch usr/lib/X11/config/host.def