From a88ec4c53893c6fae779f94163691512f227d7be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 26 Sep 2023 19:28:47 +0200 Subject: [PATCH] Fix ynh_setup_source --- scripts/install | 2 +- scripts/upgrade | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 0006f94..4fd0fbb 100755 --- a/scripts/install +++ b/scripts/install @@ -16,7 +16,7 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Setting up source files..." --weight=1 -ynh_setup_source --source_id=ttyd --dest_dir="$install_dir/ttyd" +ynh_setup_source --source_id=ttyd --dest_dir="$install_dir" chmod +x "$install_dir/ttyd" ynh_setup_source --source_id=httpsh --dest_dir="$install_dir/httpsh" diff --git a/scripts/upgrade b/scripts/upgrade index 7c818ab..f4bc256 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -54,7 +54,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 --source_id=ttyd --dest_dir="$install_dir/ttyd" + ynh_setup_source --source_id=ttyd --dest_dir="$install_dir" chmod +x "$install_dir/ttyd" ynh_setup_source --source_id=httpsh --dest_dir="$install_dir/httpsh" fi