Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eepm
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Nurlan
eepm
Commits
1a28ee3c
Commit
1a28ee3c
authored
Jul 27, 2022
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-addrepo: add support for install powertools on RHEL family
parent
92b63903
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
epm-addrepo
bin/epm-addrepo
+8
-0
No files found.
bin/epm-addrepo
View file @
1a28ee3c
...
...
@@ -29,13 +29,21 @@ __epm_addrepo_rhel()
echo
"Add 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
"3. Use with powertools to add PowerTools repository"
return
1
fi
case
"
$1
"
in
epel
)
# dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
epm
install
epel-release
return
1
;;
powertools
)
# https://serverfault.com/questions/997896/how-to-enable-powertools-repository-in-centos-8
epm
install
--skip-installed
dnf-plugins-core
sudocmd dnf config-manager
--set-enabled
powertools
return
1
;;
esac
return
0
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment