diff --git a/scripts/install b/scripts/install index 6cc4776..c77a41c 100755 --- a/scripts/install +++ b/scripts/install @@ -96,7 +96,7 @@ then ynh_replace_string "YNH_UPLOAD_PASSWORD" "" "$jirafeauconfigfile" ynh_app_setting_set $app upload_password "" else - ynh_replace_string "YNH_UPLOAD_PASSWORD" "\'$upload_password\'" "$jirafeauconfigfile" + ynh_replace_string "YNH_UPLOAD_PASSWORD" "'$upload_password'" "$jirafeauconfigfile" ynh_app_setting_set $app upload_password "$upload_password" fi diff --git a/scripts/upgrade b/scripts/upgrade index b31186d..05b5e2f 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -106,7 +106,7 @@ then ynh_replace_string "YNH_UPLOAD_PASSWORD" "" "$jirafeauconfigfile" ynh_app_setting_set $app upload_password "" else - ynh_replace_string "YNH_UPLOAD_PASSWORD" "\'$upload_password\'" "$jirafeauconfigfile" + ynh_replace_string "YNH_UPLOAD_PASSWORD" "'$upload_password'" "$jirafeauconfigfile" ynh_app_setting_set $app upload_password "$upload_password" fi