mirror of
https://github.com/YunoHost-Apps/mineweb_ynh.git
synced 2024-09-03 19:45:54 +02:00
set relative path for --keep opt
This commit is contained in:
parent
848138eaf0
commit
65f53e2b4a
3 changed files with 6 additions and 6 deletions
|
@ -20,12 +20,12 @@
|
|||
"email": "liberodark@gmail.com"
|
||||
},
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.3.0"
|
||||
"yunohost": ">= 11.0.9"
|
||||
},
|
||||
"multi_instance": true,
|
||||
"services": [
|
||||
"nginx",
|
||||
"php7.3-fpm",
|
||||
"php8.0-fpm",
|
||||
"mysql"
|
||||
],
|
||||
"arguments": {
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
# COMMON VARIABLES
|
||||
#=================================================
|
||||
|
||||
YNH_PHP_VERSION="7.3"
|
||||
YNH_PHP_VERSION="8.0"
|
||||
|
||||
# dependencies used by the app
|
||||
pkg_dependencies="php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-curl"
|
||||
|
|
|
@ -86,7 +86,7 @@ then
|
|||
ynh_script_progression --message="Upgrading source files..." --weight=7
|
||||
|
||||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$final_path" #--keep="$final_path/app/Config/database.php"
|
||||
ynh_setup_source --dest_dir="$final_path" --keep="app/Config/database.php"
|
||||
fi
|
||||
|
||||
chmod 750 "$final_path"
|
||||
|
@ -119,9 +119,9 @@ ynh_add_fpm_config
|
|||
#=================================================
|
||||
# MODIFY A CONFIG FILE
|
||||
#=================================================
|
||||
ynh_script_progression --message="Updating a configuration file..."--weight=1
|
||||
#ynh_script_progression --message="Updating a configuration file..."--weight=1
|
||||
|
||||
ynh_add_config --template="../conf/database.php" --destination="$final_path/app/Config/database.php"
|
||||
#ynh_add_config --template="../conf/database.php" --destination="$final_path/app/Config/database.php"
|
||||
|
||||
#=================================================
|
||||
# MODIFY FIRST.CTP
|
||||
|
|
Loading…
Add table
Reference in a new issue