--- fix.sh 2001/08/22 11:43:59 1.4 +++ fix.sh 2001/09/25 15:38:04 1.7 @@ -1,6 +1,41 @@ #! /bin/sh +DIRS="img/news img/bolesti img/autori pdf/medicus pdf/inf_glasnik templates_c med/templates_c" +LINKS=". edit +. med/edit +../index.html img/bolesti/index.html +../index.html img/autori/index.html +../index.html img/news/index.html +../img/index.html pdf/index.html +../index.html pdf/medicus/index.html +../index.html pdf/inf_glasnik/index.html +stanja.tpl templates/lifestyle.tpl +../pdf med/pdf +../inc med/inc +../fonts med/fonts +../js med/js +../img/news med/img/news +../img/bolesti med/img/bolesti +../img/autori med/img/autori +../../img/banneri med/img/banneri +../../templates/edit.tpl med/templates/edit.tpl +../../templates/show.tpl med/templates/show.tpl +../../templates/search.tpl med/templates/search.tpl +../../templates/links.tpl med/templates/links.tpl +../../templates/wrapper.tpl med/templates/wrapper.tpl +../../templates/print.tpl med/templates/print.tpl +../../templates/footer.tpl med/templates/footer.tpl +../../templates/author.tpl med/templates/author.tpl +../../templates/highlight.tpl med/templates/highlight.tpl +../index.php med/index.php +../legal.php med/legal.php +../stil.php med/stil.php +../levels.css med/levels.css +../verdanab.ttf med/verdanab.ttf +../button.php med/button.php" +# ------------- +cd "`dirname "${0}"`" echo -n "Creating dirs:" -for i in img/news img/bolesti templates_c +for i in ${DIRS} do [ -e "${i}" ] && continue echo -n " [${i}]" @@ -8,18 +43,12 @@ chmod 777 "${i}" done echo " done." -LINKS="`cat <