From 2a3e96d634e49c0ceb6c27fb43b80eb08328ee8e Mon Sep 17 00:00:00 2001 From: Robles Rodolphe Date: Fri, 25 Sep 2020 01:28:54 +0200 Subject: [PATCH] delete the command ynh_get_deian-release is not found in the file_common.sh ecause the helpers aren't sourced and so keep the package dependency without php version --- scripts/_common.sh | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index b6eaf62..36d6e2b 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -4,12 +4,8 @@ # COMMON VARIABLES #================================================= # dependencies used by the app -if -ynh_get_debian_release = "buster"; then -pkg_dependencies="php7.3-sqlite3" -else -pkg_dependencies="php7.0-sqlite3" -fi + +pkg_dependencies="php-sqlite3" # ============= FUTURE YUNOHOST HELPER =============