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 | c57c4abd3e37cd3b204e78be4d4058b0ea276c30 (patch) | |
| tree | bfa6780c2887a3450bd961c03750ece382672849 | |
| parent | 2fb1f7613141fc5f4e9c3486a4b1aacd7831605e (diff) | |
| download | Ishtar-c57c4abd3e37cd3b204e78be4d4058b0ea276c30.tar.bz2 Ishtar-c57c4abd3e37cd3b204e78be4d4058b0ea276c30.zip | |
Update script: regenerate permissions
| -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 | 
