diff options
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 |
commit | 5a12e7c134274dba706667107d10d231517d3e05 (patch) | |
tree | 55718d5acb710fde798d9f38d0bbaf594ed4b296 /source/x/x11/doinst.sh | |
download | current-5a12e7c134274dba706667107d10d231517d3e05.tar.gz |
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')
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 00000000..aa6445d1 --- /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 00000000..94bb53e8 --- /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 00000000..aa6445d1 --- /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 00000000..94bb53e8 --- /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 00000000..e3951269 --- /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 00000000..63055f0e --- /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 00000000..aa6445d1 --- /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 00000000..94bb53e8 --- /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 00000000..aa6445d1 --- /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 00000000..94bb53e8 --- /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 00000000..bdb05018 --- /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 00000000..e3951269 --- /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 00000000..aa6445d1 --- /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 00000000..94bb53e8 --- /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 00000000..2cbbd2f1 --- /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 00000000..e3951269 --- /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 00000000..960dd945 --- /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 00000000..63055f0e --- /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 00000000..63055f0e --- /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 00000000..63055f0e --- /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 00000000..e3951269 --- /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 00000000..63055f0e --- /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 00000000..63055f0e --- /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 00000000..63055f0e --- /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 00000000..960dd945 --- /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 00000000..b7227e90 --- /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 00000000..0c434b5a --- /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 00000000..63055f0e --- /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 00000000..63055f0e --- /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 00000000..63055f0e --- /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 00000000..960dd945 --- /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 00000000..63055f0e --- /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 00000000..63055f0e --- /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 00000000..960dd945 --- /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 00000000..e3951269 --- /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 00000000..bb08dc5f --- /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 00000000..2b67221c --- /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 00000000..de90b8f2 --- /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 00000000..2b47d6d9 --- /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 00000000..6711f9f9 --- /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 |