From c114dfae779cb34899c877a450a0013d25077523 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Mon, 29 Apr 2024 11:01:48 +0200 Subject: [PATCH] error_ci,error_os --- cd.sh | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/cd.sh b/cd.sh index fa39bf9..23c74a8 100644 --- a/cd.sh +++ b/cd.sh @@ -286,6 +286,15 @@ cd_cat () { fi } +cd_error_ci () { + echo "× CI: ${1}" + exit 1 +} +cd_error_os () { + echo "× OS: ${1}" + exit 2 +} + cd_install_package () { if [ "${1}" ] ; then case "${CD_OS_NAME}" in