]> granicus.if.org Git - pdns/commitdiff
rec: Remove systemd service file on trusty
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 10 May 2016 11:05:20 +0000 (13:05 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 10 May 2016 11:11:43 +0000 (13:11 +0200)
And actually ship it on non-trusty

build-scripts/build-recursor-debian
build-scripts/debian-recursor/pdns-recursor.install

index b70d9f96440dfd36e0b3ddad228e431e91fdbbd9..25e4cb7c25538ded4fb11d66385a219da4198d74 100755 (executable)
@@ -43,6 +43,10 @@ PDNS_VERSION=$VERSION
 export ID="${ID}"
 export VERSION_ID="${VERSION_ID}"
 
+if [ ${ID} = "ubuntu" -a ${VERSION_ID} = "14.04" ]; then
+  sed -i '/lib\/systemd\/system\/pdns-recursor\.service/d' debian/pdns-recursor.install
+fi
+
 fakeroot debian/rules debian/control
 
 fakeroot debian/rules binary
index d954867134f592d4339ac020a34fc648c41486b9..f43716fb986e3934fd7d84403935fd69fc66d518 100644 (file)
@@ -1,2 +1,3 @@
 debian/tmp/usr/sbin/pdns_recursor usr/sbin/
 debian/tmp/usr/bin/rec_control usr/bin/
+lib/systemd/system/pdns-recursor.service lib/systemd/system/