70 lines
2.5 KiB
Plaintext
70 lines
2.5 KiB
Plaintext
|
#!/bin/bash
|
|||
|
#Framework, welches ein komplettes Linux System aus den Sourcen erstellt
|
|||
|
#dieses Framework wird im CVS Repository
|
|||
|
#:pserver:cvs.compuextreme.de:/Data/cvs zur Verf<72>gung gestellt
|
|||
|
#
|
|||
|
#Lage dieser Datei im Archiv: $Source$
|
|||
|
#
|
|||
|
#(c) 2003 Harald Kueller, Germany
|
|||
|
#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.
|
|||
|
#
|
|||
|
#Postinstall f<>r WindowManager:
|
|||
|
#
|
|||
|
#Letzte <20>nderung von: $Author$
|
|||
|
#Datum der letzten <20>nderung: $Date$
|
|||
|
#Version der Datei: $Revision$
|
|||
|
#
|
|||
|
#$Log$
|
|||
|
#Revision 1.5 2007/03/26 07:41:47 kueller
|
|||
|
#An neue Java Version angepasst. Wenn irgendwann 64 Bit plugin support
|
|||
|
#fuer netscape/firefox existiert, funktioniert das hoffentlicha auch
|
|||
|
#
|
|||
|
#Revision 1.4 2007/02/14 19:28:51 kueller
|
|||
|
#Anpassung an 32/64 Bit Environment
|
|||
|
#
|
|||
|
#Revision 1.3 2006/06/22 10:36:02 kueller
|
|||
|
#javaplugin wird erst installiert, wenn auch wirklich vorhanden
|
|||
|
#
|
|||
|
#Revision 1.2 2006/06/14 22:20:59 kueller
|
|||
|
#java plugin wird nun per postinstall aktiviert
|
|||
|
#
|
|||
|
#Revision 1.1.1.1 2006/06/07 12:20:55 kueller
|
|||
|
#Mozilla wird durch firefox und thunderbird ersetzt.
|
|||
|
#
|
|||
|
#Revision 1.2 2003/12/03 07:59:49 kueller
|
|||
|
#Standart installation von "make install" funktioniert nicht. Es muessen
|
|||
|
#Alle libs und binarys ins gleiche Verzeichniss (Hier: /opt/mozilla) gespielt
|
|||
|
#werden. Systemkonfig wird nun entsprechend erstellt
|
|||
|
#
|
|||
|
#Revision 1.1 2003/11/29 09:16:26 kueller
|
|||
|
#Mozilla braucht inzwischen auch eine eintragung in /etc/ld.so.conf
|
|||
|
#
|
|||
|
#
|
|||
|
|
|||
|
if ! grep firefox /etc/ld.so.conf >/dev/null 2>&1; then
|
|||
|
echo "/opt/firefox/lib" >>/etc/ld.so.conf
|
|||
|
if [ -d /opt/firefox/lib64 ]; then
|
|||
|
echo "/opt/firefox/lib64" >>/etc/ld.so.conf
|
|||
|
fi
|
|||
|
fi
|
|||
|
|
|||
|
if [ -f /usr/lib64/jdk/plugin/x86_64/ns7/libjavaplugin_oji.so ]; then
|
|||
|
cd /opt/firefox/lib64/firefox*/plugins
|
|||
|
ln -s /usr/lib64/jdk/plugin/x86_64/ns7/libjavaplugin_oji.so .
|
|||
|
elif [ -f /usr/lib/jdk/plugin/i386/ns7/libjavaplugin_oji.so ]; then
|
|||
|
cd /opt/firefox/lib/firefox*/plugins
|
|||
|
ln -s /usr/lib/jdk/plugin/i386/ns7/libjavaplugin_oji.so .
|
|||
|
fi
|