Commit 17b7c21d authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm-addrepo: add crb support for Rocky Linux

parent ac026ae0
...@@ -30,6 +30,7 @@ __epm_addrepo_rhel() ...@@ -30,6 +30,7 @@ __epm_addrepo_rhel()
echo "1. Use with repository URL, f.i. http://www.example.com/example.repo" echo "1. Use with repository URL, f.i. http://www.example.com/example.repo"
echo "2. Use with epel to add EPEL repository" echo "2. Use with epel to add EPEL repository"
echo "3. Use with powertools to add PowerTools repository" echo "3. Use with powertools to add PowerTools repository"
echo "4. Use with crb to add Rocky Linux CRB repository"
return 1 return 1
fi fi
case "$1" in case "$1" in
...@@ -44,6 +45,12 @@ __epm_addrepo_rhel() ...@@ -44,6 +45,12 @@ __epm_addrepo_rhel()
sudocmd dnf config-manager --set-enabled powertools sudocmd dnf config-manager --set-enabled powertools
return 1 return 1
;; ;;
crb)
# https://wiki.rockylinux.org/rocky/repo/
epm install --skip-installed dnf-plugins-core
sudocmd dnf config-manager --set-enabled crb
return 1
;;
esac esac
return 0 return 0
} }
......
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