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:
parent
af9210cd2f
commit
6cc63520f9
1 changed files with 3 additions and 3 deletions
|
@ -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
|
||||
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue