mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-06-02 19:00:16 +00:00
Merge branch 'rocky-linux:main' into oracle-streams
This commit is contained in:
commit
fdc62f376f
|
@ -358,6 +358,9 @@ safednf () (
|
|||
)
|
||||
|
||||
collect_system_info () {
|
||||
# Dump the DNF cache first so we start with a clean slate.
|
||||
infomsg $'\nRemoving dnf cache\n'
|
||||
rm -rf /var/cache/{yum,dnf}
|
||||
# Check the efi mount first, so we can bail before wasting time on all these
|
||||
# other checks if it's not there.
|
||||
if [[ $update_efi ]]; then
|
||||
|
@ -749,8 +752,6 @@ EOF
|
|||
fi
|
||||
|
||||
# Distrosync
|
||||
infomsg $'\nRemoving dnf cache\n'
|
||||
rm -rf /var/cache/{yum,dnf}
|
||||
infomsg $'Ensuring repos are enabled before the package swap\n'
|
||||
safednf -y --enableplugin=config-manager config-manager \
|
||||
--set-enabled "${!repo_map[@]}" || {
|
||||
|
|
Loading…
Reference in New Issue
Block a user