mirror of
https://github.com/YunoHost-Apps/matomo_ynh.git
synced 2024-09-03 19:45:56 +02:00
Fix
This commit is contained in:
parent
6a183aaa64
commit
e1799e0d50
2 changed files with 4 additions and 3 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue