/[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.4 - (show annotations)
Wed Aug 22 11:43:59 2001 UTC (17 years, 10 months ago) by ravilov
Branch: MAIN
Changes since 1.3: +2 -1 lines
File MIME type: application/x-sh
Added the menu on the left.

1 #! /bin/sh
2 echo -n "Creating dirs:"
3 for i in img/news img/bolesti templates_c
4 do
5 [ -e "${i}" ] && continue
6 echo -n " [${i}]"
7 mkdir -p "${i}"
8 chmod 777 "${i}"
9 done
10 echo " done."
11 LINKS="`cat <<EOF
12 . edit
13 conditions.tpl templates/lifestyle.tpl
14 pgConditions.php inc/pgLifestyle.php
15 menuConditions.php inc/menuHome.php
16 menuLifestyle.php inc/menuHome.php
17 EOF
18 `"
19 echo -n "Creating symlinks:"
20 echo "${LINKS}" | while read line
21 do
22 set -- ${line}
23 [ -e "${2}" ] && continue
24 echo -n " [${2}]"
25 ln -s "${1}" "${2}"
26 done
27 echo " done."
28 exit "${?}"

  ViewVC Help
Powered by ViewVC 1.1.26