diff --git a/cd.sh b/cd.sh index 30f7de0..2ca6f20 100644 --- a/cd.sh +++ b/cd.sh @@ -372,6 +372,7 @@ Acquire::https::Verify-Peer False; "${CD_PM_APK}"|"${CD_PM_APT}") CD_PKG_SSH="openssh-client" ;; "${CD_PM_DNF}") CD_PKG_SSH="openssh-clients" ;; "${CD_PM_PACMAN}") CD_PKG_SSH="openssh" ;; + *) esac } @@ -384,6 +385,7 @@ cd_set_packages_repositories () { cd_set_packages_repositories__file="/etc/yum.repos.d/almalinux.repo" ;; "9") \ cd_set_packages_repositories__file="/etc/yum.repos.d/almalinux-baseos.repo" ;; + *) esac cd_sed "${cd_set_packages_repositories__file}" \ "|^mirrorlist|# mirrorlist|" \ @@ -412,6 +414,7 @@ deb ${CD_URL_CHOSEN}-security ${CD_OS_VERSION}-security main cd_set_packages_repositories__file="/etc/yum.repos.d/Rocky-BaseOS.repo" ;; "9") \ cd_set_packages_repositories__file="/etc/yum.repos.d/rocky.repo" ;; + *) esac cd_sed "${cd_set_packages_repositories__file}" \ "|^mirrorlist|# mirrorlist|" \ @@ -427,6 +430,7 @@ deb ${CD_URL_CHOSEN} ${CD_OS_VERSION}-updates main deb ${CD_URL_CHOSEN} ${CD_OS_VERSION}-security main " ;; + *) esac } @@ -437,6 +441,7 @@ cd_set_packages_configuration () { "${CD_OS_DEBIAN}"|"${CD_OS_UBUNTU}") export DEBIAN_FRONTEND="noninteractive" ;; + *) esac }