diff --git a/tmp/postremove b/tmp/postremove new file mode 100644 index 0000000..d7e74f3 --- /dev/null +++ b/tmp/postremove @@ -0,0 +1,70 @@ +#!/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 das X11 System (XFree Projekt). Erzeugt die +#Notwendigen Systemeinträge (/etc/ld.so.conf), sowie auf wunsch eine +#X11R6 Konfiguration (mit xorgconfig Script). +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.5 2007/02/10 22:35:06 kueller +#lib64 wird jetzt in ld.so.conf beruecksichtigt +# +#Revision 1.4 2006/06/18 13:25:00 kueller +#Anpassungen an X11R7 +# +#Revision 1.3 2004/11/22 12:53:06 kueller +#Anpassungen an neuen XOrg Server - configtool heisst nun xorgconfig. +# +#Revision 1.2 2002/10/09 08:20:47 kueller +#Anpassungen an neues chroot verhalten von installpkg. Ausserdem einsatz +#des neuen GPL Monsum Headers. +# +# +#Revision 1.1.1.1 2001/09/23 13:25:09 kueller +#Neustart wg. Datenverlust +# +#Revision 1.3 2001/08/17 21:46:03 kueller +# +#Sicherheitsabfrage, die mehrmaliges Eintragen in ld.so.conf verhindert, +#hinzugefügt +# +#Revision 1.2 2001/08/17 13:52:08 cvs +# +#Wenn Rootdir nicht als Argument übergeben wurde, so wird root jetzt auf "/" +#gesetzt +# +#Revision 1.1.1.1 2001/08/14 18:55:19 kueller +#X11 Add Ons +# +# + + +sed -i -e "/\/usr\/X11\/lib/d" /etc/ld.so.conf +sed -i -e "/\/usr\/X11\/lib64/d" /etc/ld.so.conf