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
c7248721
Commit
c7248721
authored
Oct 03, 2013
by
Vitaly Lipatov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
epm-changelog: add support for noninstalled packages on ALT
parent
0cc2467e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
12 additions
and
6 deletions
+12
-6
epm-changelog
bin/epm-changelog
+12
-6
No files found.
bin/epm-changelog
View file @
c7248721
...
...
@@ -19,7 +19,14 @@
load_helper epm-query
# TODO: use
__epm_changelog_apt
()
{
local
i
for
i
in
$@
;
do
docmd apt-cache show
$i
|
grep
-A
1000
"^Changelog:"
done
}
__epm_changelog_files
()
{
[
-z
"
$*
"
]
&&
return
...
...
@@ -29,14 +36,13 @@ __epm_changelog_files()
rpm
)
docmd_foreach
"rpm -p --changelog"
$@
| less
;;
#
apt-dpkg
)
#
deb
)
#
# ;;
*
)
fatal
"Have no suitable command for
$1
"
;;
esac
}
__epm_changelog_local_names
()
...
...
@@ -68,9 +74,9 @@ __epm_changelog_unlocal_names()
[
-z
"
$*
"
]
&&
return
case
$PMTYPE
in
#
apt-rpm)
# docmd_foreach "rpm --changelog"
$@ | less
#
;;
apt-rpm
)
__epm_changelog_apt
$@
| less
;;
#apt-dpkg)
# # FIXME: only first pkg
# docmd zcat /usr/share/doc/$1/changelog.Debian.gz | less
...
...
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