1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/emailpoubelle_ynh.git synced 2024-09-03 18:26:29 +02:00

Update scripts/upgrade

Co-authored-by: Éric Gaspar <46165813+ericgaspar@users.noreply.github.com>
This commit is contained in:
oufmilo 2021-06-25 15:39:46 +02:00 committed by GitHub
parent 7328198772
commit e651d4e078
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -38,13 +38,6 @@ upgrade_type=$(ynh_check_app_version_changed)
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..."
# Fix is_public as a boolean value
#if [ "$is_public" = "Yes" ]; then
# ynh_app_setting_set --app=$app --key=is_public --value=1
# is_public=1
#elif [ "$is_public" = "No" ]; then
# ynh_app_setting_set --app=$app --key=is_public --value=0
# is_public=0
#fi
# If db_name doesn't exist, create it
if [ -z "$db_name" ]; then
@ -211,4 +204,3 @@ ynh_script_progression --message="Reloading postfix..."
ynh_systemd_action --service_name=postfix --action=reload
ynh_script_progression --message="Upgrade of $app completed" --last