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:
parent
5b28f78827
commit
cd5406573d
1 changed files with 3 additions and 4 deletions
|
@ -42,15 +42,14 @@ ynh_app_setting_set --app=$app --key=maxavatarsize --value=$maxavatarsize
|
|||
ynh_app_setting_set --app=$app --key=maxitemsperpage --value=$maxitemsperpage
|
||||
|
||||
#=================================================
|
||||
# INSTALL BACKEND
|
||||
# INSTALL Vikunja
|
||||
#=================================================
|
||||
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"
|
||||
tempdir="$(mktemp -d)"
|
||||
executable="$(find $tempdir -name "vikunja-*" \! -name "*.sha256")"
|
||||
ln -s "$executable" "$install_dir/vikunja"
|
||||
executable="$(find $install_dir -name "vikunja-*" \! -name "*.sha256")"
|
||||
ln -s "$executable" "/usr/bin/vikunja"
|
||||
|
||||
chmod +x "$install_dir/vikunja"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue