1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mailman3_ynh.git synced 2024-09-03 19:36:17 +02:00
This commit is contained in:
yalh76 2021-08-22 13:21:33 +02:00
parent 8c6e02ed91
commit 60449628a8
2 changed files with 2 additions and 3 deletions

View file

@ -10,7 +10,6 @@
setup_private=1
setup_public=1
upgrade=1
upgrade=1 from_commit=CommitHash
backup_restore=1
multi_instance=0
port_already_use=1

View file

@ -14,7 +14,7 @@ source /usr/share/yunohost/helpers
#=================================================
ynh_clean_setup () {
ynh_clean_check_starting
ynh_clean_check_starting
}
# Exit if an error occurs during the execution of the script
ynh_abort_if_errors
@ -131,7 +131,7 @@ ynh_add_config --template="../conf/mailman-web.py" --destination="/etc/mailman3/
#=================================================
# RUN DATABASE MIGRATIONS
#=================================================
ynh_script_progression --message="Running database migrations..." --weight=6
ynh_script_progression --message="Running database migrations..."
pushd /usr/share/mailman3-web
python3 manage.py migrate || ynh_die --message="Mailman3 migrations failed!"