mirror of
https://github.com/YunoHost-Apps/mybb_ynh.git
synced 2024-09-03 19:46:07 +02:00
set relative path for --keep opt
This commit is contained in:
parent
aa609688da
commit
3466946ed9
3 changed files with 5 additions and 5 deletions
|
@ -22,12 +22,12 @@
|
||||||
"email": ""
|
"email": ""
|
||||||
},
|
},
|
||||||
"requirements": {
|
"requirements": {
|
||||||
"yunohost": ">= 4.3.0"
|
"yunohost": ">= 11.0.9"
|
||||||
},
|
},
|
||||||
"multi_instance": true,
|
"multi_instance": true,
|
||||||
"services": [
|
"services": [
|
||||||
"nginx",
|
"nginx",
|
||||||
"php7.3-fpm",
|
"php8.0-fpm",
|
||||||
"mysql"
|
"mysql"
|
||||||
],
|
],
|
||||||
"arguments": {
|
"arguments": {
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
# COMMON VARIABLES
|
# COMMON VARIABLES
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
||||||
YNH_PHP_VERSION="7.3"
|
YNH_PHP_VERSION="8.0"
|
||||||
|
|
||||||
pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-xml"
|
pkg_dependencies="php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-xml"
|
||||||
|
|
||||||
|
|
|
@ -72,9 +72,9 @@ then
|
||||||
ynh_script_progression --message="Upgrading source files..." --weight=1
|
ynh_script_progression --message="Upgrading source files..." --weight=1
|
||||||
|
|
||||||
# Download, check integrity, uncompress and patch the source from app.src
|
# Download, check integrity, uncompress and patch the source from app.src
|
||||||
ynh_setup_source --dest_dir="$final_path" --keep="$final_path/inc/config.php"
|
ynh_setup_source --dest_dir="$final_path" --keep="inc/config.php"
|
||||||
|
|
||||||
#This remoses the lock to do the post upgrade process.
|
#This removes the lock to do the post upgrade process.
|
||||||
#ynh_secure_remove --file="$final_path/install/lock"
|
#ynh_secure_remove --file="$final_path/install/lock"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue