1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/matomo_ynh.git synced 2024-09-03 19:45:56 +02:00
This commit is contained in:
ericgaspar 2020-12-22 11:17:51 +01:00
parent 6a183aaa64
commit e1799e0d50
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 4 additions and 3 deletions

View file

@ -125,7 +125,7 @@ ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion
ynh_script_progression --message="Securing files and directories..."
# Set permissions to app files
chown -R $app: $final_path
chown -R $app:$app $final_path
#=================================================
# SETUP SSOWAT

View file

@ -144,7 +144,7 @@ ynh_install_composer --phpversion="$phpversion" --workdir="$final_path"
if [[ -f "$final_path/config/config.ini.php" ]]; then
pushd "$final_path"
chown -R www-data:www-data $final_path/tmp
chown -R $app:$app $final_path/tmp/*
ynh_exec_as $app ./console core:update
popd
fi
@ -155,6 +155,7 @@ fi
if [ ! "$(ls -A "$final_path/plugins/Morpheus/icons")" ]
then
ynh_script_progression --message="Installating Morpheus icons..."
ynh_setup_source --dest_dir="$final_path/plugins/Morpheus/icons" --source_id="icons"
chmod -R 755 "$final_path/plugins/Morpheus"
fi
@ -180,7 +181,7 @@ ynh_replace_string --match_string="__PHPVERSION__" --replace_string="$phpversion
ynh_script_progression --message="Securing files and directories..."
# Set permissions on app files
chown -R $app: $final_path
chown -R $app:$app $final_path
#=================================================
# RELOAD NGINX