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
6c0a1dfe
Commit
6c0a1dfe
authored
Jul 28, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small fix
parent
de092e93
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
2 deletions
+11
-2
epm
bin/epm
+6
-0
epm-repolist
bin/epm-repolist
+2
-2
epm-update
bin/epm-update
+3
-0
No files found.
bin/epm
View file @
6c0a1dfe
...
...
@@ -145,6 +145,12 @@ check_command()
addrepo
)
# HELPCMD: add package repo
epm_cmd
=
addrepo
;;
repolist|sl
)
# HELPCMD: print repo list
epm_cmd
=
repolist
;;
removerepo|rr
)
# HELPCMD: remove package repo
epm_cmd
=
removerepo
;;
*
)
return
1
esac
...
...
bin/epm-repolist
View file @
6c0a1dfe
...
...
@@ -25,10 +25,10 @@ case $PMTYPE in
# docmd $SUDO apt-get check || exit
# ;;
yum-rpm
)
docmd
$SUDO
yum repolist
||
exit
docmd
$SUDO
yum repolist
;;
zypper-rpm
)
docmd
$USDO
zypper sl
docmd
$USDO
zypper sl
-d
;;
*
)
fatal
"Do not known command for
$PMTYPE
"
...
...
bin/epm-update
View file @
6c0a1dfe
...
...
@@ -35,6 +35,9 @@ case $PMTYPE in
urpm-rpm
)
docmd
$SUDO
urpmi.update
-a
;;
pacman
)
docmd
$SUDO
pacman
-S
-y
;;
zypper-rpm
)
docmd
$SUDO
zypper refresh
;;
...
...
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