diff --git a/scripts/upgrade b/scripts/upgrade index 82ef0b9..99e9a9b 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -30,7 +30,7 @@ then ynh_script_progression --message="Upgrading source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir="$final_path" --keep="var/invoices/ var/data/" + ynh_setup_source --dest_dir="$install_dir" --keep="var/invoices/ var/data/" fi chmod -R o-rwx "$install_dir"