summaryrefslogtreecommitdiff
path: root/install/ishtar-update
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-16 18:15:56 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2017-05-16 18:15:56 +0200
commitc58947fa2f4f13476b3a87559e90680fb7172a5a (patch)
tree6009c92d9508959071d9cb5c5e38687a5e0c0120 /install/ishtar-update
parent566ea4133f3085f7c55a3dd8b75dedceb2907a46 (diff)
downloadIshtar-c58947fa2f4f13476b3a87559e90680fb7172a5a.tar.bz2
Ishtar-c58947fa2f4f13476b3a87559e90680fb7172a5a.zip
Fix update script
Diffstat (limited to 'install/ishtar-update')
-rwxr-xr-xinstall/ishtar-update4
1 files changed, 4 insertions, 0 deletions
diff --git a/install/ishtar-update b/install/ishtar-update
index b6ed4f3bb..93c32efdc 100755
--- a/install/ishtar-update
+++ b/install/ishtar-update
@@ -58,8 +58,11 @@ update_instances() {
source $CONFIG_PATH/config
cd $ISHTAR_PATH
+
+ cecho g "Update Ishtar library from git repository"
git pull
+ INSTANCES_FILE=$CONFIG_PATH/instances
instances="$( (cat $INSTANCES_FILE 2>/dev/null || true) | xargs )"
if [ -n "$instances" ]; then
@@ -78,6 +81,7 @@ update_instances() {
translated='true'
fi
+ cd $ISHTAR_PATH/$instance
cecho g "Instance: $instance"
cecho y " * collect static"
python manage.py collectstatic --noinput 2> /dev/null