mirror of
https://github.com/YunoHost-Apps/mosquitto_ynh.git
synced 2024-09-03 19:45:54 +02:00
debug
This commit is contained in:
parent
62f4af04fe
commit
8620cdb2c9
1 changed files with 3 additions and 1 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Reference in a new issue