debian-backport-cockpit: Don't include previously backported version into changelog
authorMartin Pitt <martin@piware.de>
Tue, 27 Feb 2018 15:43:28 +0000 (16:43 +0100)
committerMartin Pitt <martin@piware.de>
Tue, 27 Feb 2018 15:43:28 +0000 (16:43 +0100)
debian-backport-cockpit

index 33dd026431b4f2fa8924bcf1ab7f3bf6ac82feea..4dd0fa3b57cbc84023a075c9ab4ac635459473ea 100755 (executable)
@@ -3,6 +3,7 @@ set -eu
 
 series_ver() {
     ver=$(wget -q -O- http://ftp.debian.org/debian/dists/${1}/main/source/Sources.xz | xz -d | grep-dctrl -n -sVersion -P cockpit | sort -u | tail -n1)
+    ver=${ver%~bpo*}
 }
 
 upload() {