From 262984db8ac5019af8f344e1e868a9f789518b62 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20Pi=C3=A9dallu?= Date: Tue, 26 Sep 2023 16:11:32 +0200 Subject: [PATCH] Fix: chmod +x on executable --- scripts/install | 1 + scripts/upgrade | 1 + 2 files changed, 2 insertions(+) diff --git a/scripts/install b/scripts/install index 4bd7752..43f78ee 100755 --- a/scripts/install +++ b/scripts/install @@ -17,6 +17,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" +chmod +x "$install_dir/ttyd" ynh_setup_source --source_id=httpsh --dest_dir="$install_dir/httpsh" # TODO: copy files where needed diff --git a/scripts/upgrade b/scripts/upgrade index 0ec34dc..48175d6 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -55,6 +55,7 @@ then # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --source_id=ttyd --dest_dir="$install_dir/ttyd" + chmod +x "$install_dir/ttyd" ynh_setup_source --source_id=httpsh --dest_dir="$install_dir/httpsh" fi