31 |
############################################################################## |
############################################################################## |
32 |
# Script starts here # |
# Script starts here # |
33 |
############################################################################## |
############################################################################## |
34 |
|
noDoc=1 |
35 |
while getopts "d:n" Option |
while getopts "d:n" Option |
36 |
do |
do |
37 |
case $Option in |
case $Option in |
38 |
d) thisDate="$OPTARG" |
d) thisDate="$OPTARG" |
39 |
;; |
;; |
40 |
n) noDoc=1;; |
n) unset noDoc;; |
41 |
esac |
esac |
42 |
done |
done |
43 |
./pack-them |
./pack-them |
70 |
# tarballSizeGR=$(echo "$tarballSize" | sed 's|\.|,|') |
# tarballSizeGR=$(echo "$tarballSize" | sed 's|\.|,|') |
71 |
|
|
72 |
|
|
73 |
|
############################################################################# |
74 |
|
# |
75 |
|
# Copy RSS feed to trunk. No manipulation!!! |
76 |
|
# |
77 |
|
############################################################################# |
78 |
|
pwd |
79 |
|
cd working |
80 |
|
cp clonezilla-sysresccd.rss .. |
81 |
|
cd .. |
82 |
|
|
83 |
|
|
84 |
|
|
85 |
|
############################################################################# |
86 |
|
# |
87 |
|
# Create template.html |
88 |
|
# |
89 |
|
############################################################################# |
90 |
|
|
91 |
tr -d '\n' < working/clonezilla-sysresccd.rss | sed 's|<[tT][iI][tT][lL][eE]>|\n<title>|g' | sed 's|</[pP][uU][bB][Dd][aA][tT][eE]>|</pubDate>\n|g' | grep '<title>' > /tmp/iaa.$$ |
tr -d '\n' < working/clonezilla-sysresccd.rss | sed 's|<[tT][iI][tT][lL][eE]>|\n<title>|g' | sed 's|</[pP][uU][bB][Dd][aA][tT][eE]>|</pubDate>\n|g' | grep '<title>' > /tmp/iaa.$$ |
92 |
|
|
463 |
if [ -z "$noDoc" ];then |
if [ -z "$noDoc" ];then |
464 |
./html2doc |
./html2doc |
465 |
./html2txt |
./html2txt |
466 |
|
else |
467 |
|
echo |
468 |
|
echo " **** NOT HANDLING DOCS ****" |
469 |
fi |
fi |
470 |
|
|