Commit ae9cfc94 authored by Vitaly Lipatov's avatar Vitaly Lipatov

add dnf-plugins-core package checking

parent 8b8adc92
...@@ -41,13 +41,13 @@ __epm_addrepo_rhel() ...@@ -41,13 +41,13 @@ __epm_addrepo_rhel()
;; ;;
powertools) powertools)
# https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8 # https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8
epm install --skip-installed dnf-plugins-core assure_exists dnf-plugins-core
sudocmd dnf config-manager --set-enabled powertools sudocmd dnf config-manager --set-enabled powertools
return 1 return 1
;; ;;
crb) crb)
# https://wiki.rockylinux.org/rocky/repo/ # https://wiki.rockylinux.org/rocky/repo/
epm install --skip-installed dnf-plugins-core assure_exists dnf-plugins-core
sudocmd dnf config-manager --set-enabled crb sudocmd dnf config-manager --set-enabled crb
return 1 return 1
;; ;;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment