1
0
Fork 0
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:
ericgaspar 2022-05-30 23:26:05 +02:00
parent cf7af9de58
commit 11485352d3
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -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"