diff options
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 |
commit | 9f45829de307a70c00a13ef5cf4ad9dd65b6a326 (patch) | |
tree | 6009c92d9508959071d9cb5c5e38687a5e0c0120 /install | |
parent | 03cfeb3bdfadb01b84c4324697b21c6bc289a6b4 (diff) | |
download | Ishtar-9f45829de307a70c00a13ef5cf4ad9dd65b6a326.tar.bz2 Ishtar-9f45829de307a70c00a13ef5cf4ad9dd65b6a326.zip |
Fix update script
Diffstat (limited to 'install')
-rwxr-xr-x | install/ishtar-update | 4 |
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 |