]> projects.mako.cc - attachcheck/blob - attachcheck_add_override
updated the location of the bazaar repository
[attachcheck] / attachcheck_add_override
1 #!/usr/bin/perl -p -i
2
3 # copyright (c) Benjamin Mako Hill <mako@atdot.cc>
4 # This software comes with ABSOLUTELY NO WARRANTY.
5 # This is free software and is licensed under the GNU GPL version 3 or
6 # any later version.
7
8 if (not $edited and m/^\s*\n$/) {
9         s/^\s*\n$/X-AttachCheck-Override: Yes\n\n/;
10         $edited = 1;
11 }

Benjamin Mako Hill || Want to submit a patch?