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

Going back to default php version

This commit is contained in:
yalh76 2022-06-18 15:19:49 +02:00
parent a1185e35b6
commit b5a4643a3a
2 changed files with 4 additions and 6 deletions

View file

@ -4,12 +4,10 @@
# COMMON VARIABLES
#=================================================
YNH_PHP_VERSION="7.4"
# dependencies used by the app
pkg_dependencies="php${YNH_PHP_VERSION}-tidy php${YNH_PHP_VERSION}-intl php${YNH_PHP_VERSION}-mbstring php${YNH_PHP_VERSION}-xml php${YNH_PHP_VERSION}-gd php${YNH_PHP_VERSION}-curl php${YNH_PHP_VERSION}-mysql"
pkg_dependencies="php$YNH_DEFAULT_PHP_VERSION-tidy php$YNH_DEFAULT_PHP_VERSION-intl php$YNH_DEFAULT_PHP_VERSION-mbstring php$YNH_DEFAULT_PHP_VERSION-xml php$YNH_DEFAULT_PHP_VERSION-gd php$YNH_DEFAULT_PHP_VERSION-curl php$YNH_DEFAULT_PHP_VERSION-mysql"
pgsql_pkg_dependencies="postgresql php${YNH_PHP_VERSION}-pgsql"
pgsql_pkg_dependencies="postgresql php$YNH_DEFAULT_PHP_VERSION-pgsql"
#=================================================
# PERSONAL HELPERS

View file

@ -98,7 +98,7 @@ then
# Download, check integrity, uncompress and patch the source from app.src
mv "$final_path" "$final_path.old"
ynh_setup_source "$final_path"
ynh_setup_source --dest_dir="$final_path"
#ynh_secure_remove "$final_path"/tests
# when running automatic tests, there is no config.inc.php
@ -108,7 +108,7 @@ then
fi
# delete temp directory
ynh_secure_remove "$final_path.old"
ynh_secure_remove --file="$final_path.old"
fi
chmod 750 "$final_path"