93 |
|
|
94 |
echo 'done' |
echo 'done' |
95 |
|
|
96 |
|
|
97 |
############################################################################# |
############################################################################# |
98 |
# # |
# # |
99 |
# Create news.php # |
# Create news.php # |
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 |