1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00

Fix linking executable

This commit is contained in:
CodeShakingSheep 2024-07-28 15:58:16 -05:00
parent 5b28f78827
commit cd5406573d

View file

@ -42,15 +42,14 @@ ynh_app_setting_set --app=$app --key=maxavatarsize --value=$maxavatarsize
ynh_app_setting_set --app=$app --key=maxitemsperpage --value=$maxitemsperpage ynh_app_setting_set --app=$app --key=maxitemsperpage --value=$maxitemsperpage
#================================================= #=================================================
# INSTALL BACKEND # INSTALL Vikunja
#================================================= #=================================================
ynh_script_progression --message="Setting up source files..." --weight=1 ynh_script_progression --message="Setting up source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src # Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$install_dir" ynh_setup_source --dest_dir="$install_dir"
tempdir="$(mktemp -d)" executable="$(find $install_dir -name "vikunja-*" \! -name "*.sha256")"
executable="$(find $tempdir -name "vikunja-*" \! -name "*.sha256")" ln -s "$executable" "/usr/bin/vikunja"
ln -s "$executable" "$install_dir/vikunja"
chmod +x "$install_dir/vikunja" chmod +x "$install_dir/vikunja"