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
etersoft
eepm
Commits
cb88c34b
Commit
cb88c34b
authored
Feb 23, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm: use yum-config-manager for managing repo in yum based distros
parent
07d6d599
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
epm-addrepo
bin/epm-addrepo
+2
-1
epm-removerepo
bin/epm-removerepo
+2
-1
No files found.
bin/epm-addrepo
View file @
cb88c34b
...
...
@@ -28,7 +28,8 @@ case $PMTYPE in
info
"You need manually add repo to /etc/apt/sources.list"
;;
yum-rpm
)
info
"You need manually add repo to /etc/yum.repos.d/"
assure_exists yum-utils
sudocmd yum-config-manager
--add-repo
"
$pkg_filenames
"
;;
urpm-rpm
)
sudocmd urpmi.addmedia
"
$pkg_filenames
"
...
...
bin/epm-removerepo
View file @
cb88c34b
...
...
@@ -28,7 +28,8 @@ case $PMTYPE in
info
"You need remove repo from /etc/apt/sources.list"
;;
yum-rpm
)
info
"You need remove repo from /etc/yum.repos.d/"
assure_exists yum-utils
sudocmd yum-config-manager
--disable
"
$pkg_filenames
"
;;
urpm-rpm
)
sudocmd urpmi.removemedia
"
$pkg_filenames
"
...
...
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