diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-27 18:32:03 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2017-09-27 18:32:03 +0200 |
commit | 94306242a0835a43ad10c2a1dfbca1431e1231c6 (patch) | |
tree | bfa6780c2887a3450bd961c03750ece382672849 /install | |
parent | 60dbd89337cccb7c4b18a5519fdb5f3dcdb143c9 (diff) | |
download | Ishtar-94306242a0835a43ad10c2a1dfbca1431e1231c6.tar.bz2 Ishtar-94306242a0835a43ad10c2a1dfbca1431e1231c6.zip |
Update script: regenerate permissions
Diffstat (limited to 'install')
-rwxr-xr-x | install/ishtar-update | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/install/ishtar-update b/install/ishtar-update index 3e2797c76..d88cb527c 100755 --- a/install/ishtar-update +++ b/install/ishtar-update @@ -36,7 +36,7 @@ update_instances() { elif command_exists su; then sh_c='su -c' else - cecho r " Error: this installer needs the ability to run commands as root." + cecho r " Error: this updater needs the ability to run commands as root." cecho r " We are unable to find either "sudo" or "su" available to make this happen." exit 1 fi @@ -87,6 +87,8 @@ update_instances() { python manage.py collectstatic --noinput 2> /dev/null cecho y " * database migrations" python manage.py migrate + cecho y " * regenerate permissions" + python manage.py regenerate_permisssions done fi |