feedlist: added committee minutes feed
[planet-ucc.git] / launch-update-planet.sh
index f6cd890..38c06bc 100755 (executable)
@@ -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