diff options
-rwxr-xr-x | cmdline/apt-changelog | 2 | ||||
-rw-r--r-- | debian/changelog | 7 |
2 files changed, 8 insertions, 1 deletions
diff --git a/cmdline/apt-changelog b/cmdline/apt-changelog index ac2b6e5fb..a333355a0 100755 --- a/cmdline/apt-changelog +++ b/cmdline/apt-changelog @@ -26,7 +26,7 @@ if [ -z "$version" ]; then fi # turn binary package names into source -if src=`apt-cache show $pkg 2>/dev/null| grep ^Source:`; then +if src=`apt-cache show $pkg 2>/dev/null| grep -m 1 ^Source:`; then pkg=${src#Source: } fi diff --git a/debian/changelog b/debian/changelog index b31952b02..b7f290713 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +apt (0.8.8ubuntu3) UNRELEASED; urgency=low + + * cmdline/apt-changelog: Filter out multiple results for a source package, + just take the latest one. + + -- Martin Pitt <martin.pitt@ubuntu.com> Fri, 12 Nov 2010 16:53:31 +0100 + apt (0.8.8ubuntu2) natty; urgency=low * Add cmdline/apt-changelog: Script to fetch package changelog from |