summaryrefslogtreecommitdiffstats
path: root/functions
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 /functions
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.
Diffstat (limited to 'functions')
-rw-r--r--functions2
1 files changed, 1 insertions, 1 deletions
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