commit ba77d0ccff07452d93943a2fc7d27ebf285912a1 Author: kueller Date: Sat May 3 16:58:45 2008 +0000 V961 Tree Umbau git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_freefonts@4253 504e572c-2e33-0410-9681-be2bf7408885 diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100755 index 0000000..b7645ee --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,55 @@ +#!/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 die Package freefonts - aktualisiert die notwendigen +#file.dir und file.scale dateien +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.3 2006/09/12 12:52:37 kueller +#Anpassung an 32/64 Bit Viitor +# +#Revision 1.2 2006/05/11 11:29:07 kueller +#Anpassung an neue X11R7 version +# +#Revision 1.1.1.1 2003/03/20 16:57:34 kueller +#freefont bekommt postinstall zur korrekten initialisierung im System +# +# + +if [ -d /usr/X11R7/lib64 ]; then + LIBDIR="lib64" +else + LIBDIR="lib" +fi +THISWD=`pwd` +cd /usr/X11R7/$LIBDIR/X11/fonts/Type1 +/usr/X11R7/bin/mkfontscale +/usr/X11R7/bin/mkfontdir -e /usr/X11R7/$LIBDIR/X11/fonts/encodings +cd $THISWD