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
49a21e78
Commit
49a21e78
authored
Jul 22, 2012
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
search: rewrite with PMTYPE using
parent
20b4ba42
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
epm-search
bin/epm-search
+6
-8
No files found.
bin/epm-search
View file @
49a21e78
...
@@ -24,23 +24,21 @@ epm_search()
...
@@ -24,23 +24,21 @@ epm_search()
{
{
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run search without names"
[
-n
"
$pkg_filenames
"
]
||
fatal
"Run search without names"
#CMD=$(get_install_package_command $DISTRNAME interactive)
case
$PMTYPE
in
case
$DISTRNAME
in
apt-rpm|apt-dpkg
)
"ALTLinux"
|
"Ubuntu"
|
"Debian"
|
"PCLinux"
)
CMD
=
"apt-cache search"
CMD
=
"apt-cache search"
;;
;;
"LinuxXP"
|
"Fedora"
|
"ASPLinux"
|
"CentOS"
|
"RHEL"
|
"Scientific"
)
yum-rpm
)
CMD
=
"yum search"
CMD
=
"yum search"
;;
;;
"Mandriva"
)
urpm-rpm
)
CMD
=
"urpmf"
CMD
=
"urpmf"
;;
;;
"SUSE"
)
zupper-rpm
)
CMD
=
"zypper search"
CMD
=
"zypper search"
;;
;;
*
)
*
)
RET
=
1
fatal
"Do not known search command for
$PMTYPE
"
CMD
=
"echo
\"
Do not known install command for DISTRNAME
$DISTRNAME
\"
"
;;
;;
esac
esac
...
...
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