/[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.9 - (show annotations)
Wed Sep 26 13:04:28 2001 UTC (22 years, 7 months ago) by ravilov
Branch: MAIN
Changes since 1.8: +10 -3 lines
File MIME type: application/x-sh
Added some missing files, and some missing features...

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/R-black.gif med/img/R-black.gif
18 ../../img/R-lgray.gif med/img/R-lgray.gif
19 ../../img/R-dgray.gif med/img/R-dgray.gif
20 ../../img/R-white.gif med/img/R-white.gif
21 ../../img/bolesti med/img/bolesti
22 ../../img/autori med/img/autori
23 ../../img/banneri med/img/banneri
24 ../../img/vademecum med/img/vademecum
25 ../../templates/edit.tpl med/templates/edit.tpl
26 ../../templates/show.tpl med/templates/show.tpl
27 ../../templates/search.tpl med/templates/search.tpl
28 ../../templates/links.tpl med/templates/links.tpl
29 ../../templates/wrapper.tpl med/templates/wrapper.tpl
30 ../../templates/print.tpl med/templates/print.tpl
31 ../../templates/footer.tpl med/templates/footer.tpl
32 ../../templates/author.tpl med/templates/author.tpl
33 ../../templates/highlight.tpl med/templates/highlight.tpl
34 ../../templates/mnogosearch.tpl med/templates/mnogosearch.tpl
35 ../../templates/knjiznica-vademecum.tpl med/templates/vademecum.tpl
36 ../../templates/knjiznica-lijekovi.tpl med/templates/lijekovi.tpl
37 ../index.php med/index.php
38 ../legal.php med/legal.php
39 ../stil.php med/stil.php
40 ../levels.css med/levels.css
41 ../verdanab.ttf med/verdanab.ttf
42 ../button.php med/button.php"
43 # -------------
44 cd "`dirname "${0}"`"
45 echo -n "Creating dirs:"
46 for i in ${DIRS}
47 do
48 [ -e "${i}" ] && continue
49 echo -n " [${i}]"
50 mkdir -p "${i}"
51 chmod 777 "${i}"
52 done
53 echo " done."
54 echo -n "Creating symlinks:"
55 echo "${LINKS}" | while read line
56 do
57 set -- ${line}
58 [ -z "${1}" ] && continue
59 [ -z "${2}" ] && continue
60 [ -e "${2}" ] && continue
61 echo -n " [${2}]"
62 ln -s "${1}" "${2}"
63 done
64 echo " done."
65 exit "${?}"

  ViewVC Help
Powered by ViewVC 1.1.26