summaryrefslogtreecommitdiff
path: root/install/ishtar-update
diff options
context:
space:
mode:
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