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
6af0089e
Commit
6af0089e
authored
Jul 26, 2012
by
Danil Mikhailov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm info fix: on apt, add: on yum
parent
d09a1cfb
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
17 additions
and
12 deletions
+17
-12
.#epm
bin/.#epm
+2
-0
epm-info
bin/epm-info
+4
-4
epm-sh-functions
bin/epm-sh-functions
+11
-8
No files found.
bin/.#epm
0 → 120000
View file @
6af0089e
danil@multi.office.etersoft.ru.18783
\ No newline at end of file
bin/epm-info
View file @
6af0089e
...
@@ -22,11 +22,11 @@ epm_info()
...
@@ -22,11 +22,11 @@ epm_info()
{
{
case
$PMTYPE
in
case
$PMTYPE
in
apt-rpm|apt-dpkg
)
apt-rpm|apt-dpkg
)
docmd apt-cache show
||
exit
docmd apt-cache show
$pkg_names
||
exit
;;
yum-rpm
)
docmd
$SUDO
yum info
$pkg_names
||
exit
;;
;;
#yum-rpm)
# docmd $SUDO yum repolist || exit
# ;;
zypper-rpm
)
zypper-rpm
)
docmd zypper info
$pkg_names
||
exit
docmd zypper info
$pkg_names
||
exit
;;
;;
...
...
bin/epm-sh-functions
View file @
6af0089e
...
@@ -135,24 +135,27 @@ case $DISTRNAME in
...
@@ -135,24 +135,27 @@ case $DISTRNAME in
ALTLinux|PCLinux
)
ALTLinux|PCLinux
)
CMD
=
"apt-rpm"
CMD
=
"apt-rpm"
;;
;;
FreeBSD
)
CMD
=
"pkg_add"
;;
Ubuntu|Debian|Mint
)
Ubuntu|Debian|Mint
)
CMD
=
"apt-dpkg"
CMD
=
"apt-dpkg"
;;
;;
LinuxXP|Fedora|ASPLinux|CentOS|RHEL|Scientific
)
CMD
=
"yum-rpm"
;;
Mandriva|ROSA
)
Mandriva|ROSA
)
CMD
=
"urpm-rpm"
CMD
=
"urpm-rpm"
;;
;;
SUSE|SLED|SLES
)
FreeBSD
)
CMD
=
"
zypper-rpm
"
CMD
=
"
pkg_add
"
;;
;;
Gentoo
)
Gentoo
)
CMD
=
"emerge"
CMD
=
"emerge"
;;
;;
ArchLinux
)
CMD
=
"pacman"
;;
Fedora|LinuxXP|ASPLinux|CentOS|RHEL|Scientific
)
CMD
=
"yum-rpm"
;;
SUSE|SLED|SLES
)
CMD
=
"zypper-rpm"
;;
*
)
*
)
fatal
"Do not known DISTRNAME
$DISTRNAME
"
fatal
"Do not known DISTRNAME
$DISTRNAME
"
;;
;;
...
...
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