Correctly handle binNMUs in t-p-u

Signed-off-by: Adam D. Barratt <adam@adam-barratt.org.uk>

"${pkg}/${arch}_tpu" means "the tpu binary packages for $pkg on
architecture $arch", not "the unstable binary packages for $pkg on
architecture ${arch}_tpu"
debian
Adam D. Barratt 14 years ago
parent 7cc7bbf765
commit 19a7792982

@ -2001,7 +2001,9 @@ class Britney:
# arch = "<source>/<arch>",
elif "/" in pkg:
pkg_name, arch = pkg.split("/")
suite = "unstable"
if arch.endswith("_tpu"):
arch, suite = arch.split("_")
else: suite = "unstable"
# removal of source packages = "-<source>",
elif pkg[0] == "-":
pkg_name = pkg[1:]

Loading…
Cancel
Save