Viitor_Virtuoso/tmp/postinstall

42 lines
1.4 KiB
Plaintext
Raw Permalink Normal View History

#!/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<72>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 f<>r Virtuoso
#
#Aufrufparameter:
#keine
#
#Letzte <20>nderung von: $Author: kueller $
#Datum der letzten <20>nderung: $Date: 2010-01-05 10:26:40 +0100 (Di, 05 Jan 2010) $
#Version der Datei: $Revision: 4998 $
#
#/opt/Virtuoso/lib in ldconfig aufnehmen
LIBINST=`grep "/opt/Virtuoso/lib" /etc/ld.so.conf`
if [ ! "$LIBINST" ]; then
if [ -d /opt/Virtuoso/lib64 ]; then
echo "/opt/Virtuoso/lib64" >>/etc/ld.so.conf
fi
echo "/opt/Virtuoso/lib" >>/etc/ld.so.conf
fi