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

set relative path for --keep opt

This commit is contained in:
ericgaspar 2022-08-15 19:02:18 +02:00
parent 94c7289cf8
commit 074ded71bb
3 changed files with 4 additions and 4 deletions

View file

@ -20,12 +20,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": {

View file

@ -4,7 +4,7 @@
# COMMON VARIABLES # COMMON VARIABLES
#================================================= #=================================================
YNH_PHP_VERSION="7.4" YNH_PHP_VERSION="8.0"
# dependencies used by the app # dependencies used by the app
pkg_dependencies="php${YNH_PHP_VERSION}-redis php${YNH_PHP_VERSION}-mysql" pkg_dependencies="php${YNH_PHP_VERSION}-redis php${YNH_PHP_VERSION}-mysql"

View file

@ -82,7 +82,7 @@ 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/settings.ini" ynh_setup_source --dest_dir="$final_path" --keep="settings.ini"
fi fi
chmod 750 "$final_path" chmod 750 "$final_path"