mirror of
https://github.com/YunoHost-Apps/phpbb_ynh.git
synced 2024-09-03 19:56:36 +02:00
Update upgrade
This commit is contained in:
parent
86e3efa25e
commit
2c806948ec
1 changed files with 4 additions and 3 deletions
|
@ -99,9 +99,6 @@ then
|
||||||
ynh_secure_remove --file="$new_phpbb_dir"
|
ynh_secure_remove --file="$new_phpbb_dir"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
chmod 750 "$final_path"
|
|
||||||
chmod -R o-rwx "$final_path"
|
|
||||||
chown -R $app:www-data "$final_path"
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# NGINX CONFIGURATION
|
# NGINX CONFIGURATION
|
||||||
|
@ -138,6 +135,10 @@ if [ -e "$final_path/install" ]; then
|
||||||
mv "$final_path/install" "$final_path/install_old"
|
mv "$final_path/install" "$final_path/install_old"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
chmod 750 "$final_path"
|
||||||
|
chmod -R o-rwx "$final_path"
|
||||||
|
chown -R $app:www-data "$final_path"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP A CRON
|
# SETUP A CRON
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue