mirror of
https://github.com/YunoHost-Apps/nullboard_ynh.git
synced 2024-09-03 19:46:08 +02:00
Update upgrade
This commit is contained in:
parent
3626acda25
commit
9e3d1c870b
1 changed files with 3 additions and 7 deletions
|
@ -17,14 +17,10 @@ upgrade_type=$(ynh_check_app_version_changed)
|
|||
#=================================================
|
||||
# DOWNLOAD, CHECK AND UNPACK SOURCE
|
||||
#=================================================
|
||||
|
||||
if [ "$upgrade_type" == "UPGRADE_APP" ]
|
||||
then
|
||||
ynh_script_progression --message="Upgrading source files..." --weight=4
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
|
Loading…
Reference in a new issue