diff --git a/scripts/restore b/scripts/restore index b53bb97..916c3f3 100755 --- a/scripts/restore +++ b/scripts/restore @@ -33,7 +33,7 @@ path_url=$(ynh_app_setting_get --app=$app --key=path) final_path=$(ynh_app_setting_get --app=$app --key=final_path) db_name=$(ynh_app_setting_get --app=$app --key=db_name) db_user=$db_name -nodejs_version=$(ynh_app_setting_set --app=$app --key=nodejs_version) +nodejs_version=$(ynh_app_setting_get --app=$app --key=nodejs_version) #================================================= # CHECK IF THE APP CAN BE RESTORED