ci: Refactor: Remove CI_USE_APT_INSTALL

This commit is contained in:
MarcoFalke
2023-08-16 14:50:16 +02:00
parent d78ff380a2
commit fa26387769
3 changed files with 5 additions and 7 deletions

View File

@@ -22,7 +22,7 @@ fi
if [[ $CI_IMAGE_NAME_TAG == *centos* ]]; then
bash -c "dnf -y install epel-release"
bash -c "dnf -y --allowerasing install $CI_BASE_PACKAGES $PACKAGES"
elif [ "$CI_USE_APT_INSTALL" != "no" ]; then
elif [ "$CI_OS_NAME" != "macos" ]; then
if [[ -n "${APPEND_APT_SOURCES_LIST}" ]]; then
echo "${APPEND_APT_SOURCES_LIST}" >> /etc/apt/sources.list
fi