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:
parent
0479896eef
commit
a3a93ad810
1 changed files with 2 additions and 2 deletions
|
@ -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"
|
||||||
|
|
Loading…
Reference in a new issue