*)
This commit is contained in:
parent
9450e7cb8a
commit
e6f9e2d0dd
1 changed files with 5 additions and 0 deletions
5
cd.sh
5
cd.sh
|
@ -372,6 +372,7 @@ Acquire::https::Verify-Peer False;
|
||||||
"${CD_PM_APK}"|"${CD_PM_APT}") CD_PKG_SSH="openssh-client" ;;
|
"${CD_PM_APK}"|"${CD_PM_APT}") CD_PKG_SSH="openssh-client" ;;
|
||||||
"${CD_PM_DNF}") CD_PKG_SSH="openssh-clients" ;;
|
"${CD_PM_DNF}") CD_PKG_SSH="openssh-clients" ;;
|
||||||
"${CD_PM_PACMAN}") CD_PKG_SSH="openssh" ;;
|
"${CD_PM_PACMAN}") CD_PKG_SSH="openssh" ;;
|
||||||
|
*)
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -384,6 +385,7 @@ cd_set_packages_repositories () {
|
||||||
cd_set_packages_repositories__file="/etc/yum.repos.d/almalinux.repo" ;;
|
cd_set_packages_repositories__file="/etc/yum.repos.d/almalinux.repo" ;;
|
||||||
"9") \
|
"9") \
|
||||||
cd_set_packages_repositories__file="/etc/yum.repos.d/almalinux-baseos.repo" ;;
|
cd_set_packages_repositories__file="/etc/yum.repos.d/almalinux-baseos.repo" ;;
|
||||||
|
*)
|
||||||
esac
|
esac
|
||||||
cd_sed "${cd_set_packages_repositories__file}" \
|
cd_sed "${cd_set_packages_repositories__file}" \
|
||||||
"|^mirrorlist|# mirrorlist|" \
|
"|^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" ;;
|
cd_set_packages_repositories__file="/etc/yum.repos.d/Rocky-BaseOS.repo" ;;
|
||||||
"9") \
|
"9") \
|
||||||
cd_set_packages_repositories__file="/etc/yum.repos.d/rocky.repo" ;;
|
cd_set_packages_repositories__file="/etc/yum.repos.d/rocky.repo" ;;
|
||||||
|
*)
|
||||||
esac
|
esac
|
||||||
cd_sed "${cd_set_packages_repositories__file}" \
|
cd_sed "${cd_set_packages_repositories__file}" \
|
||||||
"|^mirrorlist|# mirrorlist|" \
|
"|^mirrorlist|# mirrorlist|" \
|
||||||
|
@ -427,6 +430,7 @@ deb ${CD_URL_CHOSEN} ${CD_OS_VERSION}-updates main
|
||||||
deb ${CD_URL_CHOSEN} ${CD_OS_VERSION}-security main
|
deb ${CD_URL_CHOSEN} ${CD_OS_VERSION}-security main
|
||||||
"
|
"
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -437,6 +441,7 @@ cd_set_packages_configuration () {
|
||||||
"${CD_OS_DEBIAN}"|"${CD_OS_UBUNTU}")
|
"${CD_OS_DEBIAN}"|"${CD_OS_UBUNTU}")
|
||||||
export DEBIAN_FRONTEND="noninteractive"
|
export DEBIAN_FRONTEND="noninteractive"
|
||||||
;;
|
;;
|
||||||
|
*)
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue