#!/bin/bash #Framework, welches ein komplettes Linux System aus den Sourcen erstellt #dieses Framework wird im CVS Repository #:pserver:cvs.rainmaker-mm.de/RMM/cvs zur Verfügung gestellt # #Lage dieser Datei im Archiv: $Source$ # #(c) Rainmaker MultiMedia OHG #This program is free software; you can redistribute it and/or #modify ist under the terms of the GNU General Public License #as published by the Free Software Foundation; either version #2 of the License, or (at your option) any later version. # #This program is distributed in the hope that it will be useful, #but WITHOUT ANY WARRANTY; without even the implied warranty of #MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. #See the GNU General Public License for more details. # #You should have received a copy of the GNU General Public License #along with this program; if not write to the Free Software Foundation, #Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # #Beschreibung: #Postinstall script für das X11 System (XFree Projekt). Erzeugt die #Notwendigen Systemeinträge (/etc/ld.so.conf), sowie auf wunsch eine #X11R6 Konfiguration (mit xorgconfig Script). # #Aufrufparameter: #keine # #Letzte Änderung von: $Author$ #Datum der letzten Änderung: $Date$ #Version der Datei: $Revision$ # #$Log$ #Revision 1.5 2007/02/10 22:35:06 kueller #lib64 wird jetzt in ld.so.conf beruecksichtigt # #Revision 1.4 2006/06/18 13:25:00 kueller #Anpassungen an X11R7 # #Revision 1.3 2004/11/22 12:53:06 kueller #Anpassungen an neuen XOrg Server - configtool heisst nun xorgconfig. # #Revision 1.2 2002/10/09 08:20:47 kueller #Anpassungen an neues chroot verhalten von installpkg. Ausserdem einsatz #des neuen GPL Monsum Headers. # # #Revision 1.1.1.1 2001/09/23 13:25:09 kueller #Neustart wg. Datenverlust # #Revision 1.3 2001/08/17 21:46:03 kueller # #Sicherheitsabfrage, die mehrmaliges Eintragen in ld.so.conf verhindert, #hinzugefügt # #Revision 1.2 2001/08/17 13:52:08 cvs # #Wenn Rootdir nicht als Argument übergeben wurde, so wird root jetzt auf "/" #gesetzt # #Revision 1.1.1.1 2001/08/14 18:55:19 kueller #X11 Add Ons # # SYSCONF=`grep "/usr/X11" /etc/ld.so.conf` if [ ! "$SYSCONF" ]; then echo "/usr/X11R7/lib" >>/etc/ld.so.conf if [ -d /usr/X11R7/lib64 ]; then echo "/usr/X11R7/lib64" >>/etc/ld.so.conf fi fi PATH=$PATH:/usr/X11R7/bin export PATH if [ ! -f /tmp/NOQUEST ]; then ldconfig echo "Das X System ist jetzt installiert" echo "Soll XWindows jetzt konfiguriert werden ? [y/n]" echo "dies kann jederzeit mit xorgcfg -textmode nachgeholt werden" read ANSWER if [ "$ANSWER" == "y" ]; then xorgcfg -textmode fi fi