From c58947fa2f4f13476b3a87559e90680fb7172a5a Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Tue, 16 May 2017 18:15:56 +0200 Subject: Fix update script --- install/ishtar-update | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3