Skip to content

Commit

Permalink
Merge pull request #5361 from Martchus/auto-update
Browse files Browse the repository at this point in the history
Avoid unintended mass-removals in openqa-auto-update
  • Loading branch information
okurz authored Nov 15, 2023
2 parents e6799a9 + f70d5f5 commit 71cffe4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion script/openqa-auto-update
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@ while true; do
done

"$(dirname "${BASH_SOURCE[0]}")"/openqa-check-devel-repo
zypper -n dup --replacefiles --auto-agree-with-licenses --download-in-advance
# call ref independently of dup to avoid unintended mass-removals in case ref fails (see poo#150845)
zypper -n ref
zypper -n --no-refresh dup --replacefiles --auto-agree-with-licenses --download-in-advance
# shellcheck disable=SC2015
needs-restarting --reboothint >/dev/null || (command -v rebootmgrctl >/dev/null && rebootmgrctl reboot ||:)

0 comments on commit 71cffe4

Please sign in to comment.