We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 406388c commit 15a2dbcCopy full SHA for 15a2dbc
1 file changed
tests/testlib.bash
@@ -148,8 +148,8 @@ function dednfyum() {
148
# thus removing also the,
149
# and restoring alternatives as in install rpms
150
if which dnf ; then
151
- sudo dnf history info 0 | grep "${1}"
152
- sudo dnf history undo 0 -y --skip-broken
+ sudo dnf history info last | grep "${1}"
+ sudo dnf history undo last -y
153
sudo dnf remove -y "$@" || true # to double check the evil...
154
elif which yum ; then
155
# shellcheck disable=SC2155
0 commit comments