summaryrefslogtreecommitdiff
path: root/src/update.sh
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2012-11-10 01:16:59 +0100
committerChristian Pointner <equinox@spreadspace.org>2012-11-10 01:16:59 +0100
commitbee181aa167edfef8c8e2f647ae459a5a1abff42 (patch)
tree7ee5f0d922e5eb77e543491685df319b557ac1e9 /src/update.sh
parentcleaned up examples (diff)
using planet name for output dir
Diffstat (limited to 'src/update.sh')
-rwxr-xr-xsrc/update.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/update.sh b/src/update.sh
index 18ab61a..bb77181 100755
--- a/src/update.sh
+++ b/src/update.sh
@@ -28,15 +28,15 @@
# along with flufigut. If not, see <http://www.gnu.org/licenses/>.
#
-if [ -z "$1" ]; then
- echo "Usage: $0 <config file>"
+if [ -z "$1" ] || [ -z "$2" ]; then
+ echo "Usage: $0 <planet> <config file>"
exit 1
fi
-./manage.sh stop
-./manage.sh clean
+./manage.sh $1 stop
+./manage.sh $1 clean
./flufigut.py flumotion $1
-./manage.sh deploy
-./manage.sh start
+./manage.sh $1 deploy
+./manage.sh $1 start
exit 0