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

set relative path for --keep opt

This commit is contained in:
ericgaspar 2022-08-15 19:18:10 +02:00
parent 618f541bdc
commit 0227cb2dc1
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
# App package root directory should be the parent folder
PKG_DIR=$(cd ../; pwd)
YNH_PHP_VERSION="7.3"
YNH_PHP_VERSION="7.4"
# dependencies used by the app
pkg_dependencies="php${YNH_PHP_VERSION}-cli php${YNH_PHP_VERSION}-mysql php${YNH_PHP_VERSION}-imap python3-pip php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-ldap php${YNH_PHP_VERSION}-zip php${YNH_PHP_VERSION}-mbstring"

View file

@ -127,7 +127,7 @@ then
ynh_script_progression --message="Upgrading source files..." --weight=1
# Download, check integrity, uncompress and patch the source from app.src
ynh_setup_source --dest_dir="$final_path" --keep="application/config/config.php $(echo $final_path/plugins/*) $final_path/application/config/config.php $final_path/upload"
ynh_setup_source --dest_dir="$final_path" --keep="application/config/config.php $(echo $final_path/plugins/*) application/config/config.php upload"
fi
chmod 750 "$final_path"