mirror of
https://github.com/YunoHost-Apps/vikunja_ynh.git
synced 2024-09-03 18:06:26 +02:00
fix
This commit is contained in:
parent
8c75f1ec95
commit
2fa4158114
2 changed files with 4 additions and 5 deletions
|
@ -48,8 +48,8 @@ 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")"
|
rm $install_dir/"*.sha256"
|
||||||
mv "$executable" "$install_dir/vikunja"
|
mv "$install_dir/vikunja-*" "$install_dir/vikunja"
|
||||||
|
|
||||||
chmod +x "$install_dir/vikunja"
|
chmod +x "$install_dir/vikunja"
|
||||||
chmod -R o-rwx "$install_dir"
|
chmod -R o-rwx "$install_dir"
|
||||||
|
|
|
@ -93,11 +93,10 @@ ynh_systemd_action --service_name=$app --action=stop --log_path=systemd
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||||
|
|
||||||
ynh_setup_source --dest_dir="$install_dir"
|
ynh_setup_source --dest_dir="$install_dir"
|
||||||
executable="$(find $install_dir -name "vikunja-*" \! -name "*.sha256")"
|
rm $install_dir/"*.sha256"
|
||||||
mv "$executable" "$install_dir/vikunja"
|
mv "$install_dir/vikunja-*" "$install_dir/vikunja"
|
||||||
|
|
||||||
chmod +x "$install_dir/vikunja"
|
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…
Add table
Reference in a new issue