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
01ef7392
Commit
01ef7392
authored
Sep 03, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve whatprovides and whatdepends support
parent
6a6b5404
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
1 deletion
+14
-1
epm-whatdepends
bin/epm-whatdepends
+4
-1
epm-whatprovides
bin/epm-whatprovides
+10
-0
No files found.
bin/epm-whatdepends
View file @
01ef7392
...
...
@@ -24,9 +24,12 @@ epm_whatdepends()
# by package name
case
$PMTYPE
in
apt-rpm
|apt-dpkg
)
apt-rpm
)
CMD
=
"apt-cache whatdepends"
;;
apt-dpkg
)
CMD
=
"apt-cache rdepends"
;;
yum-rpm
)
CMD
=
"repoquery --whatrequires"
;;
...
...
bin/epm-whatprovides
View file @
01ef7392
...
...
@@ -27,6 +27,16 @@ case $PMTYPE in
conary
)
CMD
=
"conary repquery --what-provides"
;;
apt-rpm|apt-dpkg
)
LANG
=
C docmd apt-get
install
--print-uris
$pkg_filenames
|
grep
"^Selecting"
|
cut
-f2
-d
" "
return
;;
yum-rpm
)
CMD
=
"yum whatprovides"
;;
zypper-rpm
)
CMD
=
"zypper what-provides"
;;
*
)
fatal
"Have no suitable command for
$PMTYPE
"
;;
...
...
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