mirror of
https://github.com/YunoHost-Apps/phpbb_ynh.git
synced 2024-09-03 19:56:36 +02:00
Fix upgrade
This commit is contained in:
parent
b7a6e64254
commit
7ec8ac4cbe
2 changed files with 5 additions and 1 deletions
|
@ -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",
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue