]> granicus.if.org Git - pdns/commitdiff
Unbreak installation of master-based packages
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 27 Oct 2015 08:32:32 +0000 (09:32 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 27 Oct 2015 10:24:29 +0000 (11:24 +0100)
build-scripts/build-auth-debian

index 6f9b72807e34c0c95e49b67a198a49d1921421df..44e6be352d4fd02962ade93d4b498a6b9b231fd6 100755 (executable)
@@ -28,6 +28,11 @@ cp -r build-scripts/debian-authoritative $DISTDIR/debian
 
 cd $DISTDIR
 
+if $(echo $VERSION | grep -q -E '^0\.0\.'); then
+  # make sure we don't break dependencies for master releases
+  sed -i '!pdns-server (<< 3.4.6-2)!d' debian/control
+fi
+
 cat > debian/changelog << EOF
 pdns (${VERSION}-${RELEASE}) unstable; urgency=medium