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

Update install

Rename executable instead of setting a link
This commit is contained in:
CodeShakingSheep 2024-07-29 14:20:13 -05:00 committed by GitHub
parent 0479896eef
commit a3a93ad810
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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 # 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"
executable="$(find $install_dir -name "vikunja-*" \! -name "*.sha256")" 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" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"