mirror of
https://github.com/rocky-linux/rocky-tools.git
synced 2024-12-26 20:00:55 +00:00
Allowerasing (#181)
* Allow erasing during the distro-sync This is mainly for Oracle Linux but it will allow a lot more distro-syncs to be successful instead of crapping out with the migration half done.
This commit is contained in:
parent
c6e0d05a4b
commit
482b7e500e
1 changed files with 2 additions and 1 deletions
|
@ -1100,7 +1100,8 @@ EOF
|
|||
fi
|
||||
|
||||
infomsg $'\nSyncing packages\n\n'
|
||||
dnf -y distro-sync || exit_message "Error during distro-sync."
|
||||
dnf -y --allowerasing distro-sync ||
|
||||
exit_message "Error during distro-sync."
|
||||
|
||||
# Disable Stream repos.
|
||||
if (( ${#installed_sys_stream_repos_pkgs[@]} ||
|
||||
|
|
Loading…
Reference in a new issue