1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mosquitto_ynh.git synced 2024-09-03 19:45:54 +02:00
This commit is contained in:
Félix Piédallu 2023-12-13 11:38:13 +01:00
parent 62f4af04fe
commit 8620cdb2c9

View file

@ -25,8 +25,10 @@ ynh_systemd_action --service_name=$app --action="stop"
#=================================================
ynh_script_progression --message="Ensuring downward compatibility..." --weight=1
cat /etc/yunohost/apps/$app/settings.yml
# Transfer and delete the old "password" key
if [ -z "${userpass:-}" ]; then
if [ -z "$userpass" ]; then
userpass="$password"
ynh_app_setting_set --app="$app" --key="userpass" --value="$userpass"
ynh_app_setting_delete --app="$app" --key="password"