From a3a93ad810f469873e5923ea0963babfee68690b Mon Sep 17 00:00:00 2001 From: CodeShakingSheep <19874562+CodeShakingSheep@users.noreply.github.com> Date: Mon, 29 Jul 2024 14:20:13 -0500 Subject: [PATCH] Update install Rename executable instead of setting a link --- scripts/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install b/scripts/install index 82e7ae2..55bf89b 100644 --- a/scripts/install +++ b/scripts/install @@ -49,9 +49,9 @@ ynh_script_progression --message="Setting up source files..." --weight=1 # Download, check integrity, uncompress and patch the source from app.src ynh_setup_source --dest_dir="$install_dir" executable="$(find $install_dir -name "vikunja-*" \! -name "*.sha256")" -ln -s "$executable" "/usr/bin/vikunja" +mv "$executable" "vikunja" -chmod +x "$executable" +chmod +x "$install_dir/vikunja" chmod -R o-rwx "$install_dir" chown -R $app:www-data "$install_dir"