mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
Fix config/filesystems.php local driver permissions
https://github.com/YunoHost-Apps/pixelfed_ynh/issues/211
This commit is contained in:
parent
c8672ad447
commit
16ff102526
1 changed files with 6 additions and 2 deletions
|
@ -184,13 +184,17 @@ ynh_add_nginx_config
|
|||
# UPDATE COMPOSER DEPENDENCIES
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating composer..." --weight=1
|
||||
|
||||
ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="self-update"
|
||||
|
||||
ynh_script_progression --message="Updating composer dependencies..." --weight=1
|
||||
|
||||
ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="update"
|
||||
|
||||
#=================================================
|
||||
# PATCH PERMISSIONS for v0.11.5 versions and higher
|
||||
#=================================================
|
||||
ynh_script_progression --message="Patching permissions (for version 0.11.5 and newer)..." --weight=1
|
||||
ynh_replace_string --match_string="'private' => 0700," --replace_string="'private' => 0750," --target_file=$final_path/config/filesystems.php
|
||||
|
||||
#=================================================
|
||||
# DEPLOYMENT
|
||||
#=================================================
|
||||
|
|
Loading…
Add table
Reference in a new issue