From eb5dde73272cefb7898d9a13de694f0d0e204b95 Mon Sep 17 00:00:00 2001 From: ljf Date: Tue, 10 Jan 2023 10:35:14 +0100 Subject: [PATCH] [fix] Missing migration --- src/migrations/0027_ssowat_regenconf.py | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 src/migrations/0027_ssowat_regenconf.py diff --git a/src/migrations/0027_ssowat_regenconf.py b/src/migrations/0027_ssowat_regenconf.py new file mode 100644 index 000000000..c08da47ef --- /dev/null +++ b/src/migrations/0027_ssowat_regenconf.py @@ -0,0 +1,21 @@ +from moulinette.utils.log import getActionLogger + +from yunohost.tools import Migration + +logger = getActionLogger("yunohost.migration") + + +class MyMigration(Migration): + """ + Regen SSOwat conf to add remote_user_var_in_nginx_conf properties + """ + + introduced_in_version = "11.1" # FIXME? + dependencies = [] + + def run(self, *args): + from yunohost.app import app_ssowatconf + app_ssowatconf() + + def run_after_system_restore(self): + self.run()