mirror of
https://github.com/YunoHost-Apps/snappymail_ynh.git
synced 2024-09-03 20:26:29 +02:00
Update upgrade
This commit is contained in:
parent
cf7af9de58
commit
11485352d3
1 changed files with 1 additions and 5 deletions
|
@ -57,13 +57,9 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=5
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path"
|
||||
# Remove the app directory securely
|
||||
ynh_secure_remove --file="$final_path/snappymail/v/2.15.3"
|
||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/data/_data_/_default_/configs/application.ini"
|
||||
fi
|
||||
|
||||
|
||||
|
||||
chmod 750 "$final_path"
|
||||
chmod -R o-rwx "$final_path"
|
||||
chown -R $app:www-data "$final_path"
|
||||
|
|
Loading…
Reference in a new issue