summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyril Brulebois <kibi@debian.org>2014-09-14 15:20:10 (GMT)
committerCyril Brulebois <kibi@debian.org>2014-09-14 15:20:10 (GMT)
commitaebf3d9f240bf715b848311dcba3c9ace38f5020 (patch)
tree049da5298c301f22c7bb38757370fc606d98b639
parent03fbb4bb40e849c0dde768a40d37a6a24821fd40 (diff)
downloaddebootstrap-aebf3d9f240bf715b848311dcba3c9ace38f5020.zip
debootstrap-aebf3d9f240bf715b848311dcba3c9ace38f5020.tar.gz
debootstrap-aebf3d9f240bf715b848311dcba3c9ace38f5020.tar.bz2
Fix reporting of package version in retrieval and validation steps to cope with epochs.
-rw-r--r--debian/changelog7
-rw-r--r--functions2
2 files changed, 8 insertions, 1 deletions
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 <kibi@debian.org> 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