error_ci,error_os

This commit is contained in:
Marc Beninca 2024-04-29 11:01:48 +02:00
parent 64ed4186b3
commit c114dfae77
Signed by: marc.beninca
GPG key ID: 9C7613450C80C24F

9
cd.sh
View file

@ -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