From 953673c62037d416034f1a49c7062d4cda73e250 Mon Sep 17 00:00:00 2001 From: kueller Date: Sat, 3 May 2008 16:58:45 +0000 Subject: [PATCH] V961 Tree Umbau git-svn-id: svn://svn.compuextreme.de/Viitor/V961/Viitor_fonts@4252 504e572c-2e33-0410-9681-be2bf7408885 --- tmp/postinstall | 59 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) create mode 100755 tmp/postinstall diff --git a/tmp/postinstall b/tmp/postinstall new file mode 100755 index 0000000..f1d7e2d --- /dev/null +++ b/tmp/postinstall @@ -0,0 +1,59 @@ +#!/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 fuer Fontpackages. Sorgt dafuer, das die Font-Informations +#files in allen Verzeichnissen unter /usr/X11R7/lib/X11/fonts +#upgedated wird +# +#Aufrufparameter: +#keine +# +#Letzte Änderung von: $Author$ +#Datum der letzten Änderung: $Date$ +#Version der Datei: $Revision$ +# +#$Log$ +#Revision 1.3 2007/04/03 18:06:44 kueller +#initialisierung angepasst. es reicht ein aufruf von mkfontscale mit +#passenden optionen... +# +#Revision 1.2 2006/09/12 12:51:16 kueller +#Anpassung an 32/64 Bit Viitor +# +#Revision 1.1.1.1 2006/05/05 07:43:23 kueller +#Neu Initialisierung fuer fonts +# +# + +if [ -d /usr/X11R7/lib64 ]; then + LIBDIR="lib64" +else + LIBDIR="lib" +fi +cd /usr/X11R7/$LIBDIR/X11/fonts +for i in *; do + cd $i + mkfontscale -b -l -e ../encodings + cd .. +done +