Skip to content

Commit

Permalink
Force yum-based distributions to not upgrade when updating
Browse files Browse the repository at this point in the history
in yum, update is an alias to upgrade...

Source for solution: https://unix.stackexchange.com/questions/6252/what-is-yum-equivalent-of-apt-get-update
  • Loading branch information
kit-ty-kate authored Dec 31, 2020
1 parent 18924e7 commit bfb81de
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion depext.ml
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ let update_command = match family with
| "homebrew" ->
["brew"; "update"]
| "rhel" | "centos" | "fedora" | "mageia" | "oraclelinux" | "ol" ->
["yum"; "-y"; "update"]
["yum"; "makecache"]
| "archlinux" | "arch" ->
["pacman"; "-Sy"]
| "gentoo" ->
Expand Down

0 comments on commit bfb81de

Please sign in to comment.