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
a617a215
Commit
a617a215
authored
Dec 06, 2015
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve dnf support
parent
e15e4a85
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
1 deletion
+25
-1
epm-autoremove
bin/epm-autoremove
+3
-0
epm-provides
bin/epm-provides
+1
-1
epm-requires
bin/epm-requires
+11
-0
epm-search_file
bin/epm-search_file
+4
-0
epm-whatdepends
bin/epm-whatdepends
+3
-0
epm-whatprovides
bin/epm-whatprovides
+3
-0
No files found.
bin/epm-autoremove
View file @
a617a215
...
...
@@ -62,6 +62,9 @@ case $PMTYPE in
sudocmd yum remove
$PKGLIST
done
;;
dnf-rpm
)
sudocmd dnf autoremove
;;
# see autoorhans
#urpm-rpm)
# sudocmd urpme --auto-orphans
...
...
bin/epm-provides
View file @
a617a215
...
...
@@ -63,7 +63,7 @@ case $PMTYPE in
return
fi
;;
urpm-rpm|zypper-rpm|yum-rpm
)
urpm-rpm|zypper-rpm|yum-rpm
|dnf-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
else
...
...
bin/epm-requires
View file @
a617a215
...
...
@@ -68,7 +68,18 @@ case $PMTYPE in
CMD
=
"rpm -q --requires"
;;
yum-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --requires"
else
CMD
=
"yum deplist"
fi
;;
dnf-rpm
)
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --requires"
else
CMD
=
"dnf repoquery --requires"
fi
;;
pacman
)
CMD
=
"pactree"
...
...
bin/epm-search_file
View file @
a617a215
...
...
@@ -49,9 +49,13 @@ case $PMTYPE in
docmd apt-file search
$pkg_filenames
return
;;
yum-rpm
)
# TODO
info
"Search by full packages list does not realized"
CMD
=
"yum provides"
;;
dnf-rpm
)
# TODO
info
"Search by full packages list does not realized"
CMD
=
"dnf provides"
;;
urpm-rpm
)
...
...
bin/epm-whatdepends
View file @
a617a215
...
...
@@ -40,6 +40,9 @@ case $PMTYPE in
yum-rpm
)
CMD
=
"repoquery --whatrequires"
;;
dnf-rpm
)
CMD
=
"repoquery --whatrequires"
;;
emerge
)
assure_exists equery
CMD
=
"equery depends -a"
...
...
bin/epm-whatprovides
View file @
a617a215
...
...
@@ -38,6 +38,9 @@ case $PMTYPE in
yum-rpm
)
CMD
=
"yum whatprovides"
;;
dnf-rpm
)
CMD
=
"yum provides"
;;
zypper-rpm
)
CMD
=
"zypper what-provides"
;;
...
...
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