Compare commits
No commits in common. "v961" and "v963" have entirely different histories.
@ -23,12 +23,7 @@
|
|||||||
#
|
#
|
||||||
|
|
||||||
|
|
||||||
if [ -d /usr/lib64/qt/lib ]; then
|
QT3DIR=/opt/qt-3
|
||||||
LIBDIR=lib64
|
MANPATH=$MANPATH:/opt/qt-3/doc/man
|
||||||
else
|
#PATH=$PATH:/opt/qt-3/qt/bin
|
||||||
LIBDIR=lib
|
export QTDIR MANPATH
|
||||||
fi
|
|
||||||
QTDIR=/usr/$LIBDIR/qt
|
|
||||||
MANPATH=$MANPATH:/usr/$LIBDIR/qt/doc/man
|
|
||||||
PATH=$PATH:/usr/$LIBDIR/qt/bin
|
|
||||||
export QTDIR MANPATH PATH
|
|
@ -59,11 +59,11 @@
|
|||||||
#
|
#
|
||||||
#
|
#
|
||||||
|
|
||||||
INSTALLED=`grep "/usr/lib/qt" /etc/ld.so.conf`
|
INSTALLED=`grep "/opt/qt-3/lib" /etc/ld.so.conf`
|
||||||
if [ ! "$INSTALLED" ]; then
|
if [ ! "$INSTALLED" ]; then
|
||||||
echo "/usr/lib/qt/lib" >>/etc/ld.so.conf
|
echo "/opt/qt-3/lib" >>/etc/ld.so.conf
|
||||||
if [ -d /usr/lib64 ]; then
|
if [ -d /usr/lib64 ]; then
|
||||||
echo "/usr/lib64/qt/lib" >>/etc/ld.so.conf
|
echo "/opt/qt-3/lib64" >>/etc/ld.so.conf
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
ldconfig
|
ldconfig
|
||||||
|
63
tmp/postremove
Normal file
63
tmp/postremove
Normal file
@ -0,0 +1,63 @@
|
|||||||
|
#!/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 die qt library. Es werden die notwendigen
|
||||||
|
#Einträge in /etc/ld.so.conf erzeugt
|
||||||
|
#
|
||||||
|
#Aufrufparameter:
|
||||||
|
#keine
|
||||||
|
#
|
||||||
|
#Letzte Änderung von: $Author$
|
||||||
|
#Datum der letzten Änderung: $Date$
|
||||||
|
#Version der Datei: $Revision$
|
||||||
|
#
|
||||||
|
#$Log$
|
||||||
|
#Revision 1.4 2007/02/10 22:36:10 kueller
|
||||||
|
#lib64 wird jetzt mit in ld.so.conf uebernommen.
|
||||||
|
#
|
||||||
|
#Revision 1.3 2002/10/09 08:09:57 kueller
|
||||||
|
#Anpassung an neues chroot Verhalten des installpkg scriptes.
|
||||||
|
#Ausserdem Einsatz des neuen GPL Monsum Projekt Headers.
|
||||||
|
#
|
||||||
|
#Revision 1.2 2002/10/04 22:02:43 kueller
|
||||||
|
#$1 nicht überall verwendet (check von ld.so.conf!!) -> korrigiert
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/09/23 12:36:10 kueller
|
||||||
|
#Neustart wg. Datenverlust
|
||||||
|
#
|
||||||
|
#Revision 1.3 2001/09/09 00:30:45 cvs
|
||||||
|
#
|
||||||
|
#Bugfix - erste Zeile sollte keine Leerzeile sein
|
||||||
|
#
|
||||||
|
#Revision 1.2 2001/08/17 21:43:34 kueller
|
||||||
|
#
|
||||||
|
#Nach Erweiterung von ld.so.conf muß ldconfig laufen, um die neuen Librarys
|
||||||
|
#ins System einzubinden.
|
||||||
|
#
|
||||||
|
#Revision 1.1.1.1 2001/08/17 21:38:32 kueller
|
||||||
|
#AddOns fuer QT-Library
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
sed -i -e "/^\/usr\/lib\/qt/d" /etc/ld.so.conf
|
||||||
|
sed -i -e "/^\/usr\/lib64\/qt/d" /etc/ld.so.conf
|
Loading…
Reference in New Issue
Block a user