FIX: have "rebuild" update discourse docker
authorSam <sam.saffron@gmail.com>
Tue, 15 Jul 2014 00:41:18 +0000 (10:41 +1000)
committerSam <sam.saffron@gmail.com>
Tue, 15 Jul 2014 00:41:18 +0000 (10:41 +1000)
launcher

index e79b89359ce4313cf26a3d13c3e4bb5229542dc4..f03d06d8d945cdc9d6d646d9db87b8ce44d67af3 100755 (executable)
--- a/launcher
+++ b/launcher
@@ -432,6 +432,8 @@ case "$command" in
       ;;
 
   rebuild)
+      echo "Updating discourse docker"
+      git pull || (echo 'failed to update' && exit 1)
       if [ -e $cidfile ]
         then
           echo "Stopping old container"