# HG changeset patch # User Matthias Förste # Date 1306748127 -7200 # Node ID 71d192737143db3374e79bd1e09a267e6089aefe # Parent c54b6b5a7d5751010b8e718bc4c900e437c786b5 zone config snippets whose filenames end in (\.bak|~) diff -r c54b6b5a7d57 -r 71d192737143 bin/update-serial --- a/bin/update-serial Fri May 27 14:30:36 2011 +0200 +++ b/bin/update-serial Mon May 30 11:35:27 2011 +0200 @@ -271,6 +271,7 @@ open(TO, ">$bind_dir/named.conf.zones") or die "$bind_dir/named.conf.zones: $!\n"; while (<$conf_dir/*>) { + next if /(\.bak|~)$/; open(FROM, "$_") or die "$_: $! \n"; print TO ; close(FROM);