From aebf3d9f240bf715b848311dcba3c9ace38f5020 Mon Sep 17 00:00:00 2001 From: Cyril Brulebois Date: Sun, 14 Sep 2014 17:20:10 +0200 Subject: Fix reporting of package version in retrieval and validation steps to cope with epochs. --- debian/changelog | 7 +++++++ functions | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 49cf440..a6ab2f4 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +debootstrap (1.0.62) UNRELEASED; urgency=medium + + * Fix reporting of package version in retrieval and validation steps + to cope with epochs. + + -- Cyril Brulebois Sun, 14 Sep 2014 17:16:38 +0200 + debootstrap (1.0.61) unstable; urgency=medium * Fix "possibly the package $pkg is at fault" warnings to account for diff --git a/functions b/functions index c100fe2..674d649 100644 --- a/functions +++ b/functions @@ -287,7 +287,7 @@ get () { local versionname if [ "${2%.deb}" != "$2" ]; then displayname="$(echo "$2" | sed 's,^.*/,,;s,_.*$,,')" - versionname="$(echo "$2" | sed 's,^.*/,,' | cut -d_ -f2)" + versionname="$(echo "$2" | sed 's,^.*/,,' | cut -d_ -f2 | sed 's/%3a/:/')" else displayname="$(echo "$1" | sed 's,^.*/,,')" fi -- cgit v0.12