mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-11-22 05:01:25 +00:00
parent
aff688f30c
commit
22455ba221
@ -838,7 +838,7 @@ EOF
|
|||||||
|
|
||||||
# Distrosync
|
# Distrosync
|
||||||
infomsg $'Ensuring repos are enabled before the package swap\n'
|
infomsg $'Ensuring repos are enabled before the package swap\n'
|
||||||
safednf -y --enableplugin=config-manager config-manager \
|
safednf -y --enableplugin=config_manager config-manager \
|
||||||
--set-enabled "${!repo_map[@]}" || {
|
--set-enabled "${!repo_map[@]}" || {
|
||||||
printf '%s\n' 'Repo name missing?'
|
printf '%s\n' 'Repo name missing?'
|
||||||
exit 25
|
exit 25
|
||||||
@ -853,7 +853,7 @@ EOF
|
|||||||
|
|
||||||
if (( ${#managed_repos[@]} )); then
|
if (( ${#managed_repos[@]} )); then
|
||||||
infomsg $'\nDisabling subscription managed repos\n'
|
infomsg $'\nDisabling subscription managed repos\n'
|
||||||
safednf -y --enableplugin=config-manager config-manager \
|
safednf -y --enableplugin=config_manager config-manager \
|
||||||
--disable "${managed_repos[@]}"
|
--disable "${managed_repos[@]}"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user