From 94306242a0835a43ad10c2a1dfbca1431e1231c6 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Wed, 27 Sep 2017 18:32:03 +0200 Subject: Update script: regenerate permissions --- install/ishtar-update | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'install') 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 -- cgit v1.2.3