Accepting request 987249 from devel:languages:python:mailman:backports
Add missing makemigritions on update OBS-URL: https://build.opensuse.org/request/show/987249 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:mailman/python-postorius?expand=0&rev=40
This commit is contained in:
parent
77802037ab
commit
34897d2414
@ -1,3 +1,8 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 6 14:30:03 UTC 2022 - Andreas Schneider <asn@cryptomilk.org>
|
||||
|
||||
- Add missing makemigritions on update
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Jul 6 13:19:16 UTC 2022 - Ben Greiner <code@bnavigator.de>
|
||||
|
||||
|
@ -217,6 +217,7 @@ popd
|
||||
if ! grep -q "^SECRET_KEY.*" %{postorius_etcdir}/settings_local.py; then
|
||||
echo "SECRET_KEY='$(openssl rand -base64 48)'" >> %{postorius_etcdir}/settings_local.py
|
||||
fi
|
||||
%{_sbindir}/postorius-manage makemigrations --pythonpath /srv/www/webapps/mailman/postorius/ --settings settings
|
||||
%{_sbindir}/postorius-manage migrate --pythonpath /srv/www/webapps/mailman/postorius/ --settings settings
|
||||
|
||||
%files -n %{postorius_pkgname}
|
||||
|
Loading…
Reference in New Issue
Block a user