"yum config-manager" to "yum-config-manager"

Signed-off-by: rajdeep1008 <iamrajdeep1008@gmail.com>
This commit is contained in:
rajdeep1008 2024-09-24 12:04:04 +05:30
parent 596f30d7c0
commit 83b23cede1
1 changed files with 3 additions and 3 deletions

View File

@ -584,11 +584,11 @@ do_install() {
$sh_c "dnf makecache"
else
$sh_c "yum -y -q install yum-utils"
$sh_c "yum config-manager --add-repo $repo_file_url"
$sh_c "yum-config-manager --add-repo $repo_file_url"
if [ "$CHANNEL" != "stable" ]; then
$sh_c "yum config-manager --disable \"docker-ce-*\""
$sh_c "yum config-manager --enable \"docker-ce-$CHANNEL\""
$sh_c "yum-config-manager --disable \"docker-ce-*\""
$sh_c "yum-config-manager --enable \"docker-ce-$CHANNEL\""
fi
$sh_c "yum makecache"
fi