Neue Version V963

git-svn-id: svn://svn.compuextreme.de/Viitor/V963/Viitor_gnomeconf@5933 504e572c-2e33-0410-9681-be2bf7408885
This commit is contained in:
kueller 2011-01-03 10:48:06 +00:00
commit cfa49d66c6
3 changed files with 79 additions and 0 deletions

View File

@ -0,0 +1,13 @@
#!/bin/bash
export GNOME_PREFIX=/opt/gnome
export LIBGLADE_EXE_PREFIX=${GNOME_PREFIX}
if [ $EUID -eq 0 ]; then
export PATH="${PATH}:${GNOME_PREFIX}/sbin"
fi
export PATH="${PATH}:${GNOME_PREFIX}/bin"
export PKG_CONFIG_PATH="${PKG_CONFIG_PATH}${PKG_CONFIG_PATH+:}${GNOME_PREFIX}/lib/pkgconfig"
export XDG_DATA_DIRS="${XDG_DATA_DIRS}${XDG_DATA_DIRS+:}${GNOME_PREFIX}/share"
export XDG_CONFIG_DIRS="${XDG_CONFIG_DIRS}${XDG_CONFIG_DIRS+:}/etc/gnome/xdg"

8
tmp/postinstall Normal file
View File

@ -0,0 +1,8 @@
sed -i "/<standard_session_servicedirs \/>/a\ <servicedir>/opt/gnome/share/dbus-1/services</servicedir>" /etc/sysconfig/dbus-1/session.conf
if ! grep -q "/opt/gnome/lib" /etc/ld.so.conf; then
echo "/opt/gnome/lib" >>/etc/ld.so.conf
if [ -d /lib64 ]; then
echo "/opt/gnome/lib64" >>/etc/ld.so.conf
fi
fi

58
tmp/postremove Normal file
View File

@ -0,0 +1,58 @@
#!/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ü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 Änderung von: $Author: kueller $
#Datum der letzten Änderung: $Date: 2009-06-03 17:22:14 +0000 (Mi, 03 Jun 2009) $
#Version der Datei: $Revision: 4785 $
#
#$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
#
#
sed -i -e "/^\/opt\/gnome\/lib/d" /etc/ld.so.conf
sed -i -e "/^\/opt\/gnome\/lib64/d" /etc/ld.so.conf
sed -i "/<servicedir>\/opt\/gnome\/share\/dbus-1\/services<\/servicedir>/d" /etc/sysconfig/dbus-1/session.conf