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
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
2 deletions
+26
-2
epm-autoremove
bin/epm-autoremove
+3
-0
epm-provides
bin/epm-provides
+1
-1
epm-requires
bin/epm-requires
+12
-1
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
...
@@ -62,6 +62,9 @@ case $PMTYPE in
sudocmd yum remove
$PKGLIST
sudocmd yum remove
$PKGLIST
done
done
;;
;;
dnf-rpm
)
sudocmd dnf autoremove
;;
# see autoorhans
# see autoorhans
#urpm-rpm)
#urpm-rpm)
# sudocmd urpme --auto-orphans
# sudocmd urpme --auto-orphans
...
...
bin/epm-provides
View file @
a617a215
...
@@ -63,7 +63,7 @@ case $PMTYPE in
...
@@ -63,7 +63,7 @@ case $PMTYPE in
return
return
fi
fi
;;
;;
urpm-rpm|zypper-rpm|yum-rpm
)
urpm-rpm|zypper-rpm|yum-rpm
|dnf-rpm
)
if
is_installed
$pkg_names
;
then
if
is_installed
$pkg_names
;
then
CMD
=
"rpm -q --provides"
CMD
=
"rpm -q --provides"
else
else
...
...
bin/epm-requires
View file @
a617a215
...
@@ -68,7 +68,18 @@ case $PMTYPE in
...
@@ -68,7 +68,18 @@ case $PMTYPE in
CMD
=
"rpm -q --requires"
CMD
=
"rpm -q --requires"
;;
;;
yum-rpm
)
yum-rpm
)
CMD
=
"yum deplist"
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
)
pacman
)
CMD
=
"pactree"
CMD
=
"pactree"
...
...
bin/epm-search_file
View file @
a617a215
...
@@ -49,9 +49,13 @@ case $PMTYPE in
...
@@ -49,9 +49,13 @@ case $PMTYPE in
docmd apt-file search
$pkg_filenames
docmd apt-file search
$pkg_filenames
return
;;
return
;;
yum-rpm
)
yum-rpm
)
# TODO
info
"Search by full packages list does not realized"
CMD
=
"yum provides"
CMD
=
"yum provides"
;;
;;
dnf-rpm
)
dnf-rpm
)
# TODO
info
"Search by full packages list does not realized"
CMD
=
"dnf provides"
CMD
=
"dnf provides"
;;
;;
urpm-rpm
)
urpm-rpm
)
...
...
bin/epm-whatdepends
View file @
a617a215
...
@@ -40,6 +40,9 @@ case $PMTYPE in
...
@@ -40,6 +40,9 @@ case $PMTYPE in
yum-rpm
)
yum-rpm
)
CMD
=
"repoquery --whatrequires"
CMD
=
"repoquery --whatrequires"
;;
;;
dnf-rpm
)
CMD
=
"repoquery --whatrequires"
;;
emerge
)
emerge
)
assure_exists equery
assure_exists equery
CMD
=
"equery depends -a"
CMD
=
"equery depends -a"
...
...
bin/epm-whatprovides
View file @
a617a215
...
@@ -38,6 +38,9 @@ case $PMTYPE in
...
@@ -38,6 +38,9 @@ case $PMTYPE in
yum-rpm
)
yum-rpm
)
CMD
=
"yum whatprovides"
CMD
=
"yum whatprovides"
;;
;;
dnf-rpm
)
CMD
=
"yum provides"
;;
zypper-rpm
)
zypper-rpm
)
CMD
=
"zypper what-provides"
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