git.ucc.asn.au
/
planet-ucc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
feedlist: fix broken whitespace (introduced in 0ac6801)
[planet-ucc.git]
/
launch-update-planet.sh
diff --git
a/launch-update-planet.sh
b/launch-update-planet.sh
index
f6cd890
..
38c06bc
100755
(executable)
--- a/
launch-update-planet.sh
+++ b/
launch-update-planet.sh
@@
-10,6
+10,9
@@
OLDPWD=`pwd`
cd $HOME/projects/planetucc/
./update-planet
-scp planet.html
[email protected]
:public-html/index.html
-scp rss[12].xml
[email protected]
:public-html/
+EXITSTATUS=$?
+if [ "$1" == "force" ] || [ $EXITSTATUS -eq 0 ]; then
+ scp planet.html
[email protected]
:public-html/index.html
+ scp {rss1,rss2,foaf,opml}.xml
[email protected]
:public-html/
+fi
cd $OLDPWD
UCC
git Repository :: git.ucc.asn.au