Przeglądaj źródła

Remove unnecessary tool from `any_install()`

The stack now supports passing down parameters to yum, so there's no
need to another case.
Alois Mahdal 11 lat temu
rodzic
commit
44e7ee5067
1 zmienionych plików z 0 dodań i 3 usunięć
  1. 0
    3
      include/sw.sh

+ 0
- 3
include/sw.sh Wyświetl plik

@@ -27,9 +27,6 @@ any_install() {
27 27
                 yum)
28 28
                     yum_install_if_needed $pkg
29 29
                     ;;
30
-                yum_any)
31
-                    yum_install_if_needed $pkg --enablerepo="*"
32
-                    ;;
33 30
                 *)
34 31
                     warn "unsupported tool: $tool to install $pkg"
35 32
                     ;;