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
93839cdd
Commit
93839cdd
authored
Aug 16, 2016
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
improve urpmi support
parent
f689fabf
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
25 additions
and
16 deletions
+25
-16
epm-autoorphans
bin/epm-autoorphans
+1
-1
epm-changelog
bin/epm-changelog
+5
-5
epm-requires
bin/epm-requires
+8
-5
epm-upgrade
bin/epm-upgrade
+1
-1
epm-whatdepends
bin/epm-whatdepends
+5
-2
epm-whatprovides
bin/epm-whatprovides
+5
-2
No files found.
bin/epm-autoorphans
View file @
93839cdd
...
...
@@ -60,7 +60,7 @@ case $PMTYPE in
docmd epm remove
$PKGLIST
;;
urpm-rpm
)
showcmd urpm
q
--auto
-orphans
showcmd urpm
e
--report
-orphans
sudocmd urpme
--auto-orphans
;;
#emerge)
...
...
bin/epm-changelog
View file @
93839cdd
#!/bin/sh
#
# Copyright (C) 2012 Etersoft
# Copyright (C) 2012 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2012
, 2016
Etersoft
# Copyright (C) 2012
, 2016
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -85,9 +85,9 @@ __epm_changelog_unlocal_names()
#yum-rpm)
# sudocmd yum clean all
# ;;
#
urpm-rpm)
# sudocmd urpmi --clean
#
;;
urpm-rpm
)
docmd urpmq
--changelog
$@
| less
;;
#zypper-rpm)
# sudocmd zypper clean
# ;;
...
...
bin/epm-requires
View file @
93839cdd
#!/bin/sh
#
# Copyright (C) 2012-2013 Etersoft
# Copyright (C) 2012-2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2012-2013
, 2016
Etersoft
# Copyright (C) 2012-2013
, 2016
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -63,9 +63,12 @@ case $PMTYPE in
fi
;;
urpm-rpm|zypper-rpm
)
# FIXME: use hi level commands
CMD
=
"rpm -q --requires"
#zypper-rpm)
# # FIXME: use hi level commands
# CMD="rpm -q --requires"
# ;;
urpm-rpm
)
CMD
=
"urpmq --requires"
;;
yum-rpm
)
if
is_installed
$pkg_names
;
then
...
...
bin/epm-upgrade
View file @
93839cdd
...
...
@@ -51,7 +51,7 @@ epm_upgrade()
;;
urpm-rpm
)
# or --auto-select --replace-files
CMD
=
"urpmi --
auto-update
"
CMD
=
"urpmi --
update --auto-select
"
;;
zypper-rpm
)
CMD
=
"zypper dist-upgrade"
...
...
bin/epm-whatdepends
View file @
93839cdd
#!/bin/sh
#
# Copyright (C) 2013 Etersoft
# Copyright (C) 2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2013
, 2016
Etersoft
# Copyright (C) 2013
, 2016
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -40,6 +40,9 @@ case $PMTYPE in
yum-rpm
)
CMD
=
"repoquery --whatrequires"
;;
urpm-rpm
)
CMD
=
"urpmq --whatrequires"
;;
dnf-rpm
)
CMD
=
"repoquery --whatrequires"
;;
...
...
bin/epm-whatprovides
View file @
93839cdd
#!/bin/sh
#
# Copyright (C) 2013 Etersoft
# Copyright (C) 2013 Vitaly Lipatov <lav@etersoft.ru>
# Copyright (C) 2013
, 2016
Etersoft
# Copyright (C) 2013
, 2016
Vitaly Lipatov <lav@etersoft.ru>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU Affero General Public License as published by
...
...
@@ -38,6 +38,9 @@ case $PMTYPE in
yum-rpm
)
CMD
=
"yum whatprovides"
;;
urpm-rpm
)
CMD
=
"urpmq --whatprovides"
;;
dnf-rpm
)
CMD
=
"yum 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