20 |
# # |
# # |
21 |
############################################################################## |
############################################################################## |
22 |
|
|
23 |
|
pushd "$PWD" |
24 |
############################################################################## |
############################################################################## |
25 |
# Configuration section |
# Configuration section |
26 |
# |
# |
31 |
############################################################################## |
############################################################################## |
32 |
# Script starts here # |
# Script starts here # |
33 |
############################################################################## |
############################################################################## |
34 |
|
while getopts "d:" Option |
35 |
|
do |
36 |
|
case $Option in |
37 |
|
d) thisDate="$OPTARG" |
38 |
|
;; |
39 |
|
esac |
40 |
|
done |
41 |
|
./pack-them |
42 |
|
|
43 |
|
|
44 |
# Go to www/ directory |
# Go to www/ directory |
45 |
cd .. |
cd .. |
48 |
echo -n " template.html... " |
echo -n " template.html... " |
49 |
myDate=`sed -n '1p' working/release-data ` |
myDate=`sed -n '1p' working/release-data ` |
50 |
myVersion=`sed -n '2p' working/release-data ` |
myVersion=`sed -n '2p' working/release-data ` |
51 |
thisDate=`date '+%d/%m/%Y'` |
if [ -z "$thisDate" ];then |
52 |
|
thisDate=`date '+%d/%m/%Y'` |
53 |
|
fi |
54 |
|
|
55 |
whereIsTheISO="$whereIsTheISO""$myVersion" |
whereIsTheISO="$whereIsTheISO""$myVersion" |
56 |
whereIsTheTarBall="$whereIsTheISO"/create-clonezilla-sysresccd-"$myVersion".tar.gz |
whereIsTheTarBall="$whereIsTheISO"/create-clonezilla-sysresccd-"$myVersion".tar.gz |
439 |
s/CLONEZILLA_VERSION/$CLONEZILLA_VERSION/ |
s/CLONEZILLA_VERSION/$CLONEZILLA_VERSION/ |
440 |
s/SYSRESCCD_VERSION/$SYSRESCCD_VERSION/ |
s/SYSRESCCD_VERSION/$SYSRESCCD_VERSION/ |
441 |
" download.html > download.html.$$ && mv download.html.$$ download.html |
" download.html > download.html.$$ && mv download.html.$$ download.html |
442 |
|
|
443 |
|
popd |
444 |
|
./html2doc |
445 |
|
./html2txt |
446 |
|
|