1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/mybb_ynh.git synced 2024-09-03 19:46:07 +02:00

Merge pull request #10 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2022-10-19 21:14:45 +02:00 committed by GitHub
commit ce80daf59d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 21 additions and 23 deletions

View file

@ -17,8 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet.
**Shipped version:** 1.8.30~ynh2 **Shipped version:** 1.8.31~ynh1
**Demo:** https://demomybb.tk/ **Demo:** https://demomybb.tk/

View file

@ -17,8 +17,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet. MyBB is the free and open source forum software powering thousands of engaging, vibrant, and unique communities across the internet.
**Version incluse :** 1.8.30~ynh2 **Version incluse :** 1.8.31~ynh1
**Démo :** https://demomybb.tk/ **Démo :** https://demomybb.tk/

View file

@ -1,5 +1,5 @@
SOURCE_URL=https://github.com/mybb/mybb/releases/download/mybb_1830/mybb_1830.zip SOURCE_URL=https://github.com/mybb/mybb/releases/download/mybb_1831/mybb_1831.zip
SOURCE_SUM=9ef240c451b4c324d4b9d5201e1c28a49e5bbccf7f8b6bcade115375b933bc2f SOURCE_SUM=e88354f10893512ea8f426aff9d6a48f7e2cb20bd3988b001c59c9f29084c2f1
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=zip SOURCE_FORMAT=zip
SOURCE_IN_SUBDIR=false SOURCE_IN_SUBDIR=false

View file

@ -6,7 +6,7 @@
"en": "Forum software", "en": "Forum software",
"fr": "Forum open source et libre" "fr": "Forum open source et libre"
}, },
"version": "1.8.30~ynh2", "version": "1.8.31~ynh1",
"url": "https://mybb.com/", "url": "https://mybb.com/",
"upstream": { "upstream": {
"license": "LGPL-3.0-only", "license": "LGPL-3.0-only",

View file

@ -92,14 +92,6 @@ chown -R $app:www-data "$final_path"
#chmod 666 $final_path/inc/config.php $final_path/inc/settings.php #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/ 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 # PHP-FPM CONFIGURATION
#================================================= #=================================================
@ -109,6 +101,14 @@ ynh_script_progression --message="Configuring PHP-FPM..." --weight=3
ynh_add_fpm_config ynh_add_fpm_config
phpversion=$(ynh_app_setting_get --app=$app --key=phpversion) 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 # ADD A CONFIGURATION
#================================================= #=================================================

View file

@ -92,14 +92,6 @@ chown -R $app:www-data "$final_path"
# chmod 666 "$final_path/inc/config.php" # chmod 666 "$final_path/inc/config.php"
# chown $app:$app "$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 # UPGRADE DEPENDENCIES
#================================================= #=================================================
@ -115,6 +107,14 @@ ynh_script_progression --message="Upgrading PHP-FPM configuration..." --weight=1
# Create a dedicated PHP-FPM config # Create a dedicated PHP-FPM config
ynh_add_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 # RELOAD NGINX
#================================================= #=================================================