summaryrefslogtreecommitdiffstats
path: root/source/x/x11-skel/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-skel/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-skel/doinst.sh')
-rw-r--r--source/x/x11-skel/doinst.sh36
1 files changed, 36 insertions, 0 deletions
diff --git a/source/x/x11-skel/doinst.sh b/source/x/x11-skel/doinst.sh
new file mode 100644
index 000000000..05e7fb0fe
--- /dev/null
+++ b/source/x/x11-skel/doinst.sh
@@ -0,0 +1,36 @@
+
+# X.Org will work without any xorg.conf now, so don't move anything
+# into place by default. Commenting out the block below:
+
+## Use framebuffer by default if no xorg.conf is found:
+#if [ ! -r etc/X11/xorg.conf -a -r etc/X11/xorg.conf-vesa ]; then
+# cp -a etc/X11/xorg.conf-vesa etc/X11/xorg.conf
+#fi
+
+( cd usr/lib/X11 ; rm -rf fonts )
+( cd usr/lib/X11 ; ln -sf ../../share/fonts fonts )
+# This setup should allow the following packages to install in a
+# sane fashion, and should also allow third-party video drivers to
+# find X in the old places. However, anything you've installed in
+# your /usr/X11R6 directory will be moved to /usr/X11R6.bak.
+# Anything you really want want to keep will need to be merged back
+# by hand.
+if [ ! -L /usr/X11R6/bin ]; then
+ if [ -d usr/X11R6 ]; then
+ mv usr/X11R6 usr/X11R6.bak
+ fi
+fi
+mkdir -p usr/X11R6
+( cd usr/X11R6
+ for dir in ../bin ../include ../lib ../libexec ../man ../share ; do
+ rm -rf $(basename $dir)
+ ln -sf $dir .
+ done
+)
+( cd usr ; rm -rf X11 )
+( cd usr ; ln -sf X11R6 X11 )
+( cd usr/bin ; rm -rf X11 )
+( cd usr/bin ; ln -sf . X11 )
+if [ -L usr/include/X11 ]; then
+ ( cd usr/include ; rm -rf X11 )
+fi