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
613be91b
Commit
613be91b
authored
Jul 19, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
small cleanup
parent
10f6f3f1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
16 additions
and
7 deletions
+16
-7
epm
bin/epm
+9
-0
epm-sh-functions
bin/epm-sh-functions
+7
-7
No files found.
bin/epm
View file @
613be91b
...
...
@@ -109,9 +109,18 @@ for opt in "$@" ; do
-e
|
remove
)
epm_cmd
=
remove
;;
-qi
|
info
)
epm_cmd
=
info
;;
clean
)
epm_cmd
=
clean
;;
-qa
|
list|packages
)
epm_cmd
=
packages
;;
update
)
epm_cmd
=
update
;;
dist-upgrade|upgrade
)
epm_cmd
=
upgrade
;;
...
...
bin/epm-sh-functions
View file @
613be91b
...
...
@@ -72,26 +72,26 @@ set_pm_type()
{
local
CMD
case
$DISTRNAME
in
"ALTLinux"
|
"PCLinux"
)
ALTLinux|PCLinux
)
CMD
=
"apt-rpm"
;;
"FreeBSD"
)
FreeBSD
)
CMD
=
"pkg_add"
;;
"Ubuntu"
|
"Debian"
)
Ubuntu|Debian
)
CMD
=
"apt-dpkg"
;;
"LinuxXP"
|
"Fedora"
|
"ASPLinux"
|
"CentOS"
|
"RHEL"
|
"Scientific"
)
LinuxXP|Fedora|ASPLinux|CentOS|RHEL|Scientific
)
CMD
=
"yum-rpm"
;;
"Mandriva"
)
Mandriva|ROSA
)
CMD
=
"urpm-rpm"
;;
"SUSE"
)
SUSE
)
CMD
=
"zypper-rpm"
;;
*
)
fatal
"Do not known
command for
DISTRNAME
$DISTRNAME
"
fatal
"Do not known DISTRNAME
$DISTRNAME
"
;;
esac
PMTYPE
=
$CMD
...
...
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