mirror of
https://github.com/YunoHost-Apps/webtrees_ynh.git
synced 2024-09-03 18:26:37 +02:00
reorder
This commit is contained in:
parent
94cf11987f
commit
afc73d305c
1 changed files with 3 additions and 11 deletions
|
@ -67,8 +67,9 @@ ynh_system_user_create $app
|
|||
# RESTORE USER RIGHTS
|
||||
#=================================================
|
||||
|
||||
# Restore permissions on app files
|
||||
chown -R $app: $final_path
|
||||
# Restore permissions to app files
|
||||
sudo chown -R $app: "${final_path}"
|
||||
sudo chmod -R 700 $final_path/data
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE PHP-FPM CONFIGURATION
|
||||
|
@ -86,15 +87,6 @@ ynh_print_info "Reinstalling dependencies..."
|
|||
# Define and install dependencies
|
||||
ynh_install_app_dependencies $pkg_dependencies
|
||||
|
||||
#=================================================
|
||||
# RESTORE USER RIGHTS
|
||||
#=================================================
|
||||
|
||||
# Restore permissions to app files
|
||||
|
||||
sudo chown -R $app: "${final_path}"
|
||||
sudo chmod -R 700 $final_path/data
|
||||
|
||||
#=================================================
|
||||
# RESTORE THE MYSQL DATABASE
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue