mirror of
https://github.com/YunoHost-Apps/pixelfed_ynh.git
synced 2024-09-03 20:06:04 +02:00
parent
cb640d3c62
commit
0a97f36c4e
1 changed files with 3 additions and 0 deletions
|
@ -193,7 +193,10 @@ ynh_exec_warn_less ynh_composer_exec --workdir="$final_path" --commands="update"
|
||||||
# PATCH PERMISSIONS for v0.11.5 versions and higher
|
# 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_script_progression --message="Patching permissions (for version 0.11.5 and newer)..." --weight=1
|
||||||
|
# Default configuration doesn't work
|
||||||
ynh_replace_string --match_string="'private' => 0700," --replace_string="'private' => 0750," --target_file=$final_path/config/filesystems.php
|
ynh_replace_string --match_string="'private' => 0700," --replace_string="'private' => 0750," --target_file=$final_path/config/filesystems.php
|
||||||
|
# Repair permissions for files created after v0.11.5 and before this patch
|
||||||
|
chmod 750 -R "$final_path/public/storage/m/_v2/"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# DEPLOYMENT
|
# DEPLOYMENT
|
||||||
|
|
Loading…
Add table
Reference in a new issue