From 600b6edeacc869345216b03faaf9fecbdbdbcd5a Mon Sep 17 00:00:00 2001 From: kueller Date: Sat, 3 May 2008 16:59:21 +0000 Subject: [PATCH] V961 Tree Umbau git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_wine@4334 504e572c-2e33-0410-9681-be2bf7408885 --- etc/sysconfig/profile.d/wine | 22 ++++++++++ tmp/postinstall | 78 ++++++++++++++++++++++++++++++++++++ 2 files changed, 100 insertions(+) create mode 100755 etc/sysconfig/profile.d/wine create mode 100644 tmp/postinstall diff --git a/etc/sysconfig/profile.d/wine b/etc/sysconfig/profile.d/wine new file mode 100755 index 0000000..2a76640 --- /dev/null +++ b/etc/sysconfig/profile.d/wine @@ -0,0 +1,22 @@ +#!/bin/bash +#System Initialisierungen für Wine +#(c) 2005 Harald Kueller +# +#$Author$ +#$Date$ +#$Revision$ +# +#$Log$ +#Revision 1.2 2007/04/13 16:50:06 kueller +#Anpassung an neue Version +# +#Revision 1.1 2005/12/20 12:47:10 kueller +#Initialisierung fuer wine hinzugefuegt. path wird nun beim login gesetzt +# +# +# + + +PATH=$PATH:/opt/wine/bin +MANPATH=$MANPATH:/opt/wine/man +export PATH MANPATH diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100644 index 0000000..1d27016 --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,78 @@ +#!/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 für das wine packet. Es werden notwendige Einträge +#in /etc/ld.so.conf angelegt. ausserdem werden die notwendigen +#user und groupeinträge erzeugt um einen sicheren Betrieb in +#chroot Umgebungen des wine zu ermöglichen. Weiterhin +#werden die Registry Einträge für die Windows API Erzeugt. +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.10 2007/04/13 16:50:06 kueller +#Anpassung an neue Version +# +#Revision 1.9 2005/12/20 11:51:23 kueller +#winesetup mit regedit gibt es nicht mehr. Es werden nun winetools mitgeliefert, +#die setup und einige grundiinstallationen anbieten. +# +#Revision 1.8 2002/10/09 08:52:56 kueller +#Einsatz des neuen GPL Monsum Projekt Headers. +# +# +#Revision 1.7 2002/06/28 13:37:20 hkueller +#korrektur des passwortes für wine +# +#Revision 1.6 2002/06/28 12:07:49 hkueller +#Zum erstellen wird nicht mehr regapi genommen, sondern regedit - funktioniert +#besser. Ausserdem funktioniert regapi nur noch mit wine sourcen +# +#Revision 1.5 2002/06/13 12:05:40 hkueller +#Erstellung der Registry Korrigiert - funzt jetzt +# +#Revision 1.4 2002/06/13 11:56:21 hkueller +#Korrektur des Pfades /dev/ld.so.conf in /etc/ld.so.conf +# +#Revision 1.3 2002/06/13 11:49:49 hkueller +#Library Path wird nun erweitert +# +#Revision 1.2 2002/05/17 09:21:22 hkueller +#Rechte von opt/wine werden nach der installation korrigiert. tmp Pfad wird +#korrekt angelegt +# +#Revision 1.1.1.1 2002/04/12 16:56:20 hkueller +#Erster Versuch eines Wine Packages +# +# + +LIBINST=`grep "/opt/wine/lib" /etc/ld.so.conf` +if [ ! "$LIBINST" ]; then + echo "/opt/wine/lib" >>/etc/ld.so.conf +fi +ldconfig