Skip to content

Commit

Permalink
Avoid unintended vendor changes in openqa-auto-update
Browse files Browse the repository at this point in the history
* Same as eef44e1 but for
  openqa-auto-update
* Workaround openSUSE/zypper#446
* See https://progress.opensuse.org/issues/150845
  • Loading branch information
Martchus committed Nov 14, 2023
1 parent e6799a9 commit 0b4094e
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 0b4094e

Please sign in to comment.