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 13:30:51 +01:00
parent af9210cd2f
commit 6cc63520f9
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -95,9 +95,6 @@ then
# Remove the tmp directory securely
ynh_secure_remove --file="$tmpdir"
pushd "$final_path"
ynh_exec_as $app ./console core:update
popd
fi
#=================================================
@ -134,6 +131,8 @@ ynh_script_progression --message="Installating composer and dependencies..."
ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
cd "$final_path" && ynh_exec_as $app ./console core:update
#=================================================
# SETUP A CRON
#=================================================
@ -144,6 +143,7 @@ ynh_replace_string --match_string="__APP__" --replace_string="$app" --target_fil
ynh_replace_string --match_string="__DOMAIN__" --replace_string="$domain" --target_file="../conf/cron"
ynh_replace_string --match_string="__PATH__" --replace_string="$path_url" --target_file="../conf/cron"
ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion" --target_file="../conf/cron"
cp -f ../conf/cron /etc/cron.d/$app
#=================================================