X-Git-Url: https://git.adam-barratt.org.uk/?a=blobdiff_plain;f=modules%2Fgeodns%2Ffiles%2Fcommon%2Frecvconf;h=dd9b57581a126455355b88ec9889029081ec5192;hb=e5fb41afdef253d05c33a21ab2b1443fa703215a;hp=e124e7139cc86819a85c41ef73610cf316759394;hpb=d2b86f9ba8e3c99e4e0e053fd2c8a4310070552f;p=mirror%2Fdsa-puppet.git diff --git a/modules/geodns/files/common/recvconf b/modules/geodns/files/common/recvconf index e124e7139..dd9b57581 100755 --- a/modules/geodns/files/common/recvconf +++ b/modules/geodns/files/common/recvconf @@ -1,5 +1,10 @@ #!/bin/bash +# +# THIS FILE IS UNDER PUPPET CONTROL. DON'T EDIT IT HERE. +# USE: git clone git+ssh://$USER@puppet.debian.org/srv/puppet.debian.org/git/dsa-puppet.git +# + set -e set -u @@ -167,6 +172,7 @@ if [ -s "$tempscript" ]; then exit 1 fi done < "$tempscript" + rm -f -- "$tempoutput" fi # Check for any leftover files here; if there are any, exit with an error and print the list @@ -176,7 +182,6 @@ if [ ! -z "$(find . -type f)" ]; then fi rm -f -- "$temptar" -rm -f -- "$tempoutput" rm -f -- "$tempscript" cd rm -rf -- "$tempdir"