commit 1677dcb6ee4b523c721349ca817fca048abdb850 Author: kueller Date: Mon Jan 3 10:48:06 2011 +0000 Neue Version V963 git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_gcc3@5933 504e572c-2e33-0410-9681-be2bf7408885 diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100644 index 0000000..f0382ac --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,48 @@ +#!/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 gcc Version 3.3 +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.3 2006/09/11 08:05:45 kueller +#Anpassung an 64 Bit Multilib Viitor +# +#Revision 1.2 2005/08/31 12:01:13 kueller +#Leider wird nun auch gcc-3.3 als alternative zum Systemcompiler benoegit +# +#Revision 1.1.1.1 2003/11/02 13:54:36 kueller + +LIBINST=`grep "/opt/gcc-3/lib" /etc/ld.so.conf` +if [ ! "$LIBINST" ]; then + echo "/opt/gcc-3/lib" >>/etc/ld.so.conf + if [ -d /opt/gcc-3/lib64 ]; then + echo "/opt/gcc-3/lib64" >>/etc/ld.so.conf + fi +fi