/[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.2 - (show annotations)
Fri Aug 10 13:59:06 2001 UTC (17 years, 10 months ago) by ravilov
Branch: MAIN
Changes since 1.1: +13 -15 lines
File MIME type: application/x-sh
Search form modularized.

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 temp.tpl templates/d_s.tpl
13 conditions.tpl templates/lifestyle.tpl
14 pgConditions.php inc/pgLifestyle.php
15 EOF
16 `"
17 echo -n "Creating symlinks:"
18 echo "${LINKS}" | while read line
19 do
20 set -- ${line}
21 [ -e "${2}" ] && continue
22 echo -n " [${2}]"
23 ln -s "${1}" "${2}"
24 done
25 echo " done."
26 exit "${?}"

  ViewVC Help
Powered by ViewVC 1.1.26