/[clonezilla-sysresccd]/trunk/www/working/scripts/2site
ViewVC logotype

Diff of /trunk/www/working/scripts/2site

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

revision 120 by sng, Wed Sep 15 13:20:07 2010 UTC revision 121 by sng, Thu Sep 16 11:30:36 2010 UTC
# Line 31  whereIsTheISO=/e/clonezilla-sysresccd-"$ Line 31  whereIsTheISO=/e/clonezilla-sysresccd-"$
31  ##############################################################################  ##############################################################################
32  #                             Script starts here                             #  #                             Script starts here                             #
33  ##############################################################################  ##############################################################################
34  while getopts "d:" Option  while getopts "d:n" Option
35  do  do
36   case $Option in   case $Option in
37   d) thisDate="$OPTARG"   d) thisDate="$OPTARG"
38   ;;   ;;
39     n) noDoc=1;;
40    esac    esac
41  done  done
42  ./pack-them  ./pack-them
# Line 148  mv p1.$$ xxx.html Line 149  mv p1.$$ xxx.html
149  sed -n '1,/<[dD][iI][vV] [iI][dD]="content">/p' xxx.html> p1.$$  sed -n '1,/<[dD][iI][vV] [iI][dD]="content">/p' xxx.html> p1.$$
150  sed '1,/<!--seperator-->/d' working/.404.html >> p1.$$  sed '1,/<!--seperator-->/d' working/.404.html >> p1.$$
151  sed -n '/<[dD][iI][vV] [iI][dD]="content">/,$p' xxx.html | sed '1d'  >> p1.$$  sed -n '/<[dD][iI][vV] [iI][dD]="content">/,$p' xxx.html | sed '1d'  >> p1.$$
152  sed '/<!--seperator-->/d' p1.$$ > 404.html  sed '/<!--seperator-->/d' p1.$$ | sed "s|myVersion|"$myVersion"|g" > 404.html
153  rm *.$$ xxx.html  rm *.$$ xxx.html
154  echo 'done'  echo 'done'
155    
# Line 441  s/SYSRESCCD_VERSION/$SYSRESCCD_VERSION/ Line 442  s/SYSRESCCD_VERSION/$SYSRESCCD_VERSION/
442  " download.html > download.html.$$ && mv download.html.$$ download.html  " download.html > download.html.$$ && mv download.html.$$ download.html
443    
444  popd  popd
445  ./html2doc  if [ -z "$noDoc" ];then
446  ./html2txt    ./html2doc
447      ./html2txt
448    fi
449    

Legend:
Removed from v.120  
changed lines
  Added in v.121

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26