summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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