From 4675e1abecf25e468dba429c107f6729e60749fa Mon Sep 17 00:00:00 2001 From: kueller Date: Sat, 3 May 2008 16:58:45 +0000 Subject: [PATCH] V961 Tree Umbau git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_freetype@4254 504e572c-2e33-0410-9681-be2bf7408885 --- etc/sysconfig/profile.d/X11PreSet | 43 ++++++++++++++++++++++++++ tmp/postinstall | 51 +++++++++++++++++++++++++++++++ 2 files changed, 94 insertions(+) create mode 100644 etc/sysconfig/profile.d/X11PreSet create mode 100644 tmp/postinstall diff --git a/etc/sysconfig/profile.d/X11PreSet b/etc/sysconfig/profile.d/X11PreSet new file mode 100644 index 0000000..270a05e --- /dev/null +++ b/etc/sysconfig/profile.d/X11PreSet @@ -0,0 +1,43 @@ +#!/bin/bash +#Profile.d init script für XWindows +#Script Framework - Automatisiertes Erzeugen der Monsum Linux Distribution +#(c) Rainmaker MultiMedia OHG +# +#$Author$ +#$Date$ +#$Revision$ +# +#$Log$ +#Revision 1.4 2006/08/30 18:56:28 kueller +#Anpassungen an 32/64 bit umgebung +# +#Revision 1.3 2006/05/03 13:47:03 kueller +#PKG_CONFIG_PATH muss mit X11R7 entsprechend erweitert werden. +# +#Revision 1.2 2006/05/03 13:09:22 kueller +#Pfad muss noch angepasst werden . heisst nun X11R7, nicht mehr X11R6 +# +#Revision 1.1 2006/05/03 13:05:07 kueller +#Pfad muss natuerlich ebenso gesetzt werden (neuaufnahme in freetype package zw2. Viitorbuild mit X11R7.0.0 +# +#Revision 1.1.1.1 2001/09/23 13:25:09 kueller +#Neustart wg. Datenverlust +# +#Revision 1.2 2001/08/17 14:13:16 kueller +# +#MANPATH wird nun auch entsprechend erweitert, so dass X11 Manuals +#zur Verfügung stehen +# +#Revision 1.1.1.1 2001/08/14 18:55:19 kueller +#X11 Add Ons +# +# + +PATH=$PATH:/usr/X11R7/bin +MANPATH=$MANPATH:/usr/X11R7/man +WINDOWMANAGER=xfce +PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11R7/lib/pkgconfig +if [ -d /lib64 ]; then + PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/X11R7/lib64/pkgconfig +fi +export PATH MANPATH WINDOWMANAGER PKG_CONFIG_PATH diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100644 index 0000000..54b37c3 --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,51 @@ +#!/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 fuer freetype, erstes package, das unter /usr/X11R7 +#installiert +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.2 2006/08/30 18:57:43 kueller +#Anpassungen an 32/64 Bit umgebung +# +#Revision 1.1.1.1 2006/05/03 13:02:35 kueller +#neu fuer x11r7 noetig +# +# +# + + +SYSCONF=`grep "/usr/X11" /etc/ld.so.conf` +if [ ! "$SYSCONF" ]; then + echo "/usr/X11R7/lib" >>/etc/ld.so.conf + if [ -d /lib64 ]; then + echo "/usr/X11R7/lib64" >>/etc/ld.so.conf + fi +fi