git.ucc.asn.au
/
planet-ucc.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Updated feedlist as at 20090406 from oracle via davyd
[planet-ucc.git]
/
launch-update-planet.sh
1
#!/bin/sh
2
#
3
# launch-update-planet.sh
4
#
5
# A nice script to call update-planet and ship the files off to mussel.
6
# This script is suitable for cron, and shell execution.
7
#
8
# (c) 2004, Davyd Madeley <
[email protected]
>
9
10
OLDPWD=`pwd`
11
cd $HOME/projects/planetucc/
12
./update-planet
13
EXITSTATUS=$?
14
if [ "$1" == "force" ] || [ $EXITSTATUS -eq 0 ]; then
15
scp planet.html
[email protected]
:public-html/index.html
16
scp {rss1,rss2,foaf,opml}.xml
[email protected]
:public-html/
17
fi
18
cd $OLDPWD
UCC
git Repository :: git.ucc.asn.au