]> granicus.if.org Git - pdns/commitdiff
auth: Remove systemd service file on trusty
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 10 May 2016 11:04:56 +0000 (13:04 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 10 May 2016 11:11:43 +0000 (13:11 +0200)
build-scripts/build-auth-debian

index 3f86f5dc5edc9d1c05fba31071b889700198538b..251d8bba23e1c0d311c9310d00e8aa757e8739df 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\.service/d' debian/pdns-server.install
+fi
+
 fakeroot debian/rules debian/control
 
 if $(echo $PDNS_VERSION | grep -q -E '^0\.0\.'); then