1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00

Update upgrade

This commit is contained in:
ericgaspar 2020-12-11 12:59:10 +01:00
parent ff90496a9f
commit af9210cd2f
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -86,14 +86,9 @@ then
# Backup the config file in the temp dir
cp -a "$final_path/config" "$tmpdir"
# Remove the app directory securely
ynh_secure_remove --file="$final_path"
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path"
ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
# Copy the admin saved settings from tmp directory to final path
cp -a "$tmpdir" "$final_path/config"