1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mosquitto_ynh.git synced 2024-09-03 19:45:54 +02:00

fix upgrade

This commit is contained in:
Salamandar 2024-01-19 17:34:34 +01:00
parent 6138cd181d
commit fe74e56182

View file

@ -38,8 +38,9 @@ fi
ynh_script_progression --message="Updating a configuration file..." --weight=1
ynh_add_config --template="mosquitto.conf" --destination="/etc/mosquitto/conf.d/default.conf"
ynh_add_config --template="passwd" --destination="/etc/mosquitto/passwd"
ynh_delete_file_checksum --file="/etc/mosquitto/passwd"
ynh_add_config --template="passwd" --destination="/etc/mosquitto/passwd"
mosquitto_passwd -U "/etc/mosquitto/passwd"
ynh_store_file_checksum --file="/etc/mosquitto/passwd"