mirror of
https://github.com/YunoHost-Apps/mybb_ynh.git
synced 2024-09-03 19:46:07 +02:00
1831
This commit is contained in:
parent
6314116f08
commit
a83279b740
4 changed files with 19 additions and 19 deletions
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/mybb/mybb/releases/download/mybb_1830/mybb_1830.zip
|
||||
SOURCE_SUM=9ef240c451b4c324d4b9d5201e1c28a49e5bbccf7f8b6bcade115375b933bc2f
|
||||
SOURCE_URL=https://github.com/mybb/mybb/releases/download/mybb_1831/mybb_1831.zip
|
||||
SOURCE_SUM=e88354f10893512ea8f426aff9d6a48f7e2cb20bd3988b001c59c9f29084c2f1
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=zip
|
||||
SOURCE_IN_SUBDIR=false
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Forum software",
|
||||
"fr": "Forum open source et libre"
|
||||
},
|
||||
"version": "1.8.30~ynh2",
|
||||
"version": "1.8.31~ynh1",
|
||||
"url": "https://mybb.com/",
|
||||
"upstream": {
|
||||
"license": "LGPL-3.0-only",
|
||||
|
|
|
@ -92,14 +92,6 @@ chown -R $app:www-data "$final_path"
|
|||
#chmod 666 $final_path/inc/config.php $final_path/inc/settings.php
|
||||
chmod 775 $final_path/cache/ $final_path/cache/themes/ $final_path/uploads/ $final_path/uploads/avatars/
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# PHP-FPM CONFIGURATION
|
||||
#=================================================
|
||||
|
@ -109,6 +101,14 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3
|
|||
ynh_add_fpm_config
|
||||
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion)
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Configuring NGINX web server..." --weight=2
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# ADD A CONFIGURATION
|
||||
#=================================================
|
||||
|
|
|
@ -92,14 +92,6 @@ chown -R $app:www-data "$final_path"
|
|||
# chmod 666 "$final_path/inc/config.php"
|
||||
# chown $app:$app "$final_path/inc/config.php"
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# UPGRADE DEPENDENCIES
|
||||
#=================================================
|
||||
|
@ -115,6 +107,14 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
|
|||
# Create a dedicated PHP-FPM config
|
||||
ynh_add_fpm_config
|
||||
|
||||
#=================================================
|
||||
# NGINX CONFIGURATION
|
||||
#=================================================
|
||||
ynh_script_progression --message="Upgrading NGINX web server configuration..." --weight=1
|
||||
|
||||
# Create a dedicated NGINX config
|
||||
ynh_add_nginx_config
|
||||
|
||||
#=================================================
|
||||
# RELOAD NGINX
|
||||
#=================================================
|
||||
|
|
Loading…
Reference in a new issue