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