1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/phpbb_ynh.git synced 2024-09-03 19:56:36 +02:00

Merge pull request #15 from YunoHost-Apps/testing

Fix upgrade
This commit is contained in:
yalh76 2022-07-26 19:30:46 +02:00 committed by GitHub
commit 72dc2d8459
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 9 additions and 6 deletions

View file

@ -18,7 +18,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
phpBB is a free flat-forum bulletin board software solution that can be used to stay in touch with a group of people or can power your entire website. With an extensive database of user-created extensions and styles database containing hundreds of style and image packages to customise your board, you can create a very unique forum in minutes.
**Shipped version:** 3.3.8~ynh1
**Shipped version:** 3.3.8~ynh2
**Demo:** https://www.phpbb.com/demo/

View file

@ -18,7 +18,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour
phpBB is a free flat-forum bulletin board software solution that can be used to stay in touch with a group of people or can power your entire website. With an extensive database of user-created extensions and styles database containing hundreds of style and image packages to customise your board, you can create a very unique forum in minutes.
**Version incluse :** 3.3.8~ynh1
**Version incluse :** 3.3.8~ynh2
**Démo :** https://www.phpbb.com/demo/

View file

@ -16,6 +16,8 @@
upgrade=1
# 3.3.4~ynh3
upgrade=1 from_commit=28f03211e7354cd7a1e34ec379e06e4bda25fbeb
# 3.3.5~ynh1
upgrade=1 from_commit=029929ec9f9bd5a702e89c5692069c3ebaaa2e9a
backup_restore=1
multi_instance=1
port_already_use=0
@ -23,6 +25,3 @@
;;; Options
Email=
Notification=none
;;; Upgrade options
; commit=28f03211e7354cd7a1e34ec379e06e4bda25fbeb
name=3.3.4~ynh3

View file

@ -6,7 +6,7 @@
"en": "Forum software that is easy to use, powerful, and highly customisable",
"fr": "Forum facile à utiliser, puissant et hautement personnalisable"
},
"version": "3.3.8~ynh1",
"version": "3.3.8~ynh2",
"url": "http://www.phpbb.com/",
"upstream": {
"license": "GPL-2.0-only",

View file

@ -118,6 +118,10 @@ ynh_script_progression --message="Upgrading the $app..." --weight=1
ynh_exec_as $app php${phpversion} "$final_path/bin/phpbbcli.php" --no-interaction db:migrate --safe-mode
if [ -e "$final_path/install_old" ]; then
ynh_secure_remove --file="$final_path/install_old"
fi
if [ -e "$final_path/install" ]; then
ynh_exec_as $app mv "$final_path/install" "$final_path/install_old"
fi