--- fix.sh 2001/10/12 09:22:02 1.16 +++ fix.sh 2001/10/30 16:11:28 1.19 @@ -1,9 +1,11 @@ #! /bin/sh -DIRS="img/news img/bolesti img/autori pdf/medicus pdf/inf_glasnik pdf/farm_glasnik templates_c med/templates_c" +DIRS="img/news img/bolesti img/autori img/autori_cv img/kongresi pdf/medicus pdf/inf_glasnik pdf/farm_glasnik templates_c med/templates_c" DIRS2="edit med/edit" LINKS="../index.html img/bolesti/index.html ../index.html img/autori/index.html +../index.html img/autori_cv/index.html ../index.html img/news/index.html +../index.html img/kongresi/index.html ../img/index.html pdf/index.html ../index.html pdf/medicus/index.html ../index.html pdf/inf_glasnik/index.html @@ -28,8 +30,11 @@ ../../img/procitaj01.gif med/img/procitaj01.gif ../../img/procitaj02.gif med/img/procitaj02.gif ../../img/procitaj03.gif med/img/procitaj03.gif +../../img/viseotemi.gif med/img/viseotemi.gif ../../img/bolesti med/img/bolesti +../../img/kongresi med/img/kongresi ../../img/autori med/img/autori +../../img/autori_cv med/img/autori_cv ../../img/banneri med/img/banneri ../../img/vademecum med/img/vademecum ../../templates/edit.tpl med/templates/edit.tpl @@ -44,9 +49,12 @@ ../../templates/mnogosearch.tpl med/templates/mnogosearch.tpl ../../templates/qa.tpl med/templates/qa.tpl ../../templates/arhiva.tpl med/templates/arhiva.tpl +../../templates/salji.tpl med/templates/salji.tpl ../../templates/knjiznica-vademecum.tpl med/templates/vademecum.tpl ../../templates/knjiznica-lijekovi.tpl med/templates/lijekovi.tpl +../favicon.ico med/favicon.ico ../index.php med/index.php +../autor.php med/autor.php ../pdf.php med/pdf.php ../legal.php med/legal.php ../stil.php med/stil.php @@ -61,12 +69,15 @@ echo -n " [${i}]" mkdir -p "${i}" chmod 777 "${i}" + chmod g+s "${i}" done for i in ${DIRS2} do - [ -e "${i}" ] && continue - echo -n " [${i}]" - mkdir -p "${i}" + if [ ! -e "${i}" ] + then + echo -n " [${i}]" + mkdir -p "${i}" + fi ( cd "${i}" for j in ../*