diff --git a/scripts/upgrade b/scripts/upgrade index b367a49..b066dc8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -29,7 +29,8 @@ then #mv ${install_dir} ${install_dir}.old # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source "$install_dir" --keep="data" + ynh_setup_source --dest_dir=$install_dir --keep="data modules_v4" + # restore data #cp -a ${install_dir}.old/data ${install_dir}