/[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 99 by sng, Mon Aug 16 13:00:26 2010 UTC revision 100 by sng, Mon Aug 16 17:02:25 2010 UTC
# Line 93  $l Line 93  $l
93    
94  echo 'done'  echo 'done'
95    
96    
97  #############################################################################  #############################################################################
98  #                                                                           #  #                                                                           #
99  #                              Create news.php                              #  #                              Create news.php                              #
# Line 410  s|images/line.png||g' onepage.html > o & Line 411  s|images/line.png||g' onepage.html > o &
411    
412  rm onepage-tmp.html 2>/dev/null  rm onepage-tmp.html 2>/dev/null
413    
414    
415    
416    #############################################################################
417    #                                                                           #
418    #                    Fix download.html warning versions                     #
419    #                                                                           #
420    #############################################################################
421    verLineIndex=`grep bordertable index.html | grep "$myversion"|  grep '[0-9][0-9]*/[0-9][0-9]/[0-9][0-9]'     |sed "s|.*"$myVersion"||" | sed 's/"]//g' | sed -n '1p'`
422    
423    
424    CLONEZILLA_VERSION=`echo "$verLineIndex" | sed 's|.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*-[0-9][0-9]*\).*|\1|'`
425    verLineIndex=`echo "$verLineIndex" | sed "s|.*$CLONEZILLA_VERSION||"`
426    SYSRESCCD_VERSION=`echo "$verLineIndex" | sed 's|.*\([0-9][0-9]*\.[0-9][0-9]*\.[0-9][0-9]*\).*|\1|'`
427    sed "
428    s/CLONEZILLA_VERSION/$CLONEZILLA_VERSION/
429    s/SYSRESCCD_VERSION/$SYSRESCCD_VERSION/
430    " download.html > download.html.$$ && mv download.html.$$ download.html

Legend:
Removed from v.99  
changed lines
  Added in v.100

webmaster@linux.gr
ViewVC Help
Powered by ViewVC 1.1.26