#!/bin/bash #Framework, welches ein komplettes Linux System aus den Sourcen erstellt #dieses Framework wird im CVS Repository #:pserver:cvs.tramp-bbs.de:/opt/cvs zur Verfügung gestellt # #Lage dieser Datei im Archiv: $HeadURL$ # #(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. # #Beschreibung: #Legt die Distribution Verzeichnisse an # #Aufrufparameter: #keine # #Letzte Änderung von: $Author$ #Datum der letzten Änderung: $Date$ #Version der Datei: $Revision$ # STOREDIR=`pwd` source $VMAKEDIR/defsys if [ ! -d "$DISTTARGET" ]; then echo "$DISTTARGET Existiert nicht!" exit 1 fi cd $DISTTARGET if [ ! -d Base ]; then mkdir Base fi cd Base for i in Database Development Kernel lib Net System Utilities; do if [ ! -d $i ]; then mkdir -p $i fi done cd .. for i in HA Tools X11 X11_2; do if [ ! -d $i ]; then mkdir $i fi cd $i for j in Database Grafik MultiMedia Office System \ Development lib Net Utilities Gnome KDE; do if [ ! -d $j ]; then mkdir $j fi done if [ $i == "X11" ]; then if [ ! -d Windowmgr ]; then mkdir Windowmgr fi if [ ! -d KDE ]; then mkdir KDE fi fi cd .. done mkdir -p XServ/{App,Data,Doc,Driver,Extras,Font,Lib,Proto,Util,Server} cd $STOREDIR