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 (#55)

This commit is contained in:
Éric Gaspar 2021-08-03 00:09:15 +02:00 committed by GitHub
parent be01ae23ca
commit aaec189570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -110,14 +110,14 @@ then
# Remove the tmp directory securely # Remove the tmp directory securely
ynh_secure_remove --file="$tmpdir" ynh_secure_remove --file="$tmpdir"
ynh_exec_as $app php${phpversion} $final_path/console core:update -n
fi
fi
chmod 750 "$final_path" chmod 750 "$final_path"
chmod -R o-rwx "$final_path" chmod -R o-rwx "$final_path"
chown -R $app:www-data "$final_path" chown -R $app:www-data "$final_path"
ynh_exec_as $app php${phpversion} $final_path/console core:update -n
fi
fi
#================================================= #=================================================
# NGINX CONFIGURATION # NGINX CONFIGURATION
#================================================= #=================================================