/[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

Diff of /fix.sh

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by ravilov, Wed Aug 8 12:58:08 2001 UTC revision 1.2 by ravilov, Fri Aug 10 13:59:06 2001 UTC
# Line 8  do Line 8  do
8          chmod 777 "${i}"          chmod 777 "${i}"
9  done  done
10  echo " done."  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:"  echo -n "Creating symlinks:"
18  if [ ! -e "templates/d_s.tpl" ]  echo "${LINKS}" | while read line
19  then  do
20          echo -n " [templates/d_s.tpl]"          set -- ${line}
21          ln -s temp.tpl templates/d_s.tpl          [ -e "${2}" ] && continue
22  fi          echo -n " [${2}]"
23  if [ ! -e "templates/lifestyle.tpl" ]          ln -s "${1}" "${2}"
24  then  done
         echo -n " [templates/lifestyle.tpl]"  
         ln -s conditions.tpl templates/lifestyle.tpl  
 fi  
 if [ ! -e "inc/pgLifestyle.php" ]  
 then  
         echo -n " [inc/pgLifestyle.php]"  
         ln -s pgConditions.php inc/pgLifestyle.php  
 fi  
25  echo " done."  echo " done."
26  exit "${?}"  exit "${?}"

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

  ViewVC Help
Powered by ViewVC 1.1.26