From b21938c27935ab2524588ad6e9d81bab7be23f46 Mon Sep 17 00:00:00 2001 From: Florent Date: Wed, 4 Jan 2023 18:28:30 +0100 Subject: [PATCH] add missing IS_PACKAGE_CHECK function --- scripts/_common.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/scripts/_common.sh b/scripts/_common.sh index be4d5c9..e40900d 100644 --- a/scripts/_common.sh +++ b/scripts/_common.sh @@ -10,7 +10,14 @@ pkg_dependencies="" #================================================= # PERSONAL HELPERS #================================================= - +IS_PACKAGE_CHECK () { + if [ ${PACKAGE_CHECK_EXEC:-0} -eq 1 ] + then + return 0 + else + return 1 + fi +} #================================================= # EXPERIMENTAL HELPERS #=================================================