/[health_html]/fix.sh
This is repository of my old source code which isn't updated any more. Go to git.rot13.org for current projects!
ViewVC logotype

Contents of /fix.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.10 - (show annotations)
Fri Sep 28 23:34:37 2001 UTC (17 years, 11 months ago) by ravilov
Branch: MAIN
Changes since 1.9: +12 -0 lines
File MIME type: application/x-sh
Added some new pages to PLIVAmed. Some bugfixes.

1 #! /bin/sh
2 DIRS="img/news img/bolesti img/autori pdf/medicus pdf/inf_glasnik templates_c med/templates_c"
3 LINKS=". edit
4 . med/edit
5 ../index.html img/bolesti/index.html
6 ../index.html img/autori/index.html
7 ../index.html img/news/index.html
8 ../img/index.html pdf/index.html
9 ../index.html pdf/medicus/index.html
10 ../index.html pdf/inf_glasnik/index.html
11 stanja.tpl templates/lifestyle.tpl
12 ../pdf med/pdf
13 ../inc med/inc
14 ../fonts med/fonts
15 ../js med/js
16 ../../img/news med/img/news
17 ../../img/banner-title.gif med/img/banner-title.gif
18 ../../img/pisite.gif med/img/pisite.gif
19 ../../img/knjiznica01.gif med/img/hzzo.gif
20 ../../img/R-black.gif med/img/R-black.gif
21 ../../img/R-lgray.gif med/img/R-lgray.gif
22 ../../img/R-dgray.gif med/img/R-dgray.gif
23 ../../img/R-white.gif med/img/R-white.gif
24 ../../img/mali.vademecum.gif med/img/mali.vademecum.gif
25 ../../img/pio.gif med/img/pio.gif
26 ../../img/chat.gif med/img/chat.gif
27 ../../img/procitajclanak.gif med/img/procitajclanak.gif
28 ../../img/procitaj01.gif med/img/procitaj01.gif
29 ../../img/procitaj02.gif med/img/procitaj02.gif
30 ../../img/procitaj03.gif med/img/procitaj03.gif
31 ../../img/bolesti med/img/bolesti
32 ../../img/autori med/img/autori
33 ../../img/banneri med/img/banneri
34 ../../img/vademecum med/img/vademecum
35 ../../templates/edit.tpl med/templates/edit.tpl
36 ../../templates/show.tpl med/templates/show.tpl
37 ../../templates/search.tpl med/templates/search.tpl
38 ../../templates/links.tpl med/templates/links.tpl
39 ../../templates/wrapper.tpl med/templates/wrapper.tpl
40 ../../templates/print.tpl med/templates/print.tpl
41 ../../templates/footer.tpl med/templates/footer.tpl
42 ../../templates/author.tpl med/templates/author.tpl
43 ../../templates/highlight.tpl med/templates/highlight.tpl
44 ../../templates/mnogosearch.tpl med/templates/mnogosearch.tpl
45 ../../templates/qa.tpl med/templates/qa.tpl
46 ../../templates/knjiznica-vademecum.tpl med/templates/vademecum.tpl
47 ../../templates/knjiznica-lijekovi.tpl med/templates/lijekovi.tpl
48 ../index.php med/index.php
49 ../pdf.php med/pdf.php
50 ../legal.php med/legal.php
51 ../stil.php med/stil.php
52 ../levels.css med/levels.css
53 ../verdanab.ttf med/verdanab.ttf
54 ../button.php med/button.php"
55 # -------------
56 cd "`dirname "${0}"`"
57 echo -n "Creating dirs:"
58 for i in ${DIRS}
59 do
60 [ -e "${i}" ] && continue
61 echo -n " [${i}]"
62 mkdir -p "${i}"
63 chmod 777 "${i}"
64 done
65 echo " done."
66 echo -n "Creating symlinks:"
67 echo "${LINKS}" | while read line
68 do
69 set -- ${line}
70 [ -z "${1}" ] && continue
71 [ -z "${2}" ] && continue
72 [ -e "${2}" ] && continue
73 echo -n " [${2}]"
74 ln -s "${1}" "${2}"
75 done
76 echo " done."
77 exit "${?}"

  ViewVC Help
Powered by ViewVC 1.1.26