Version 0.2 of the program.
[attachcheck] / attachcheck_add_override
diff --git a/attachcheck_add_override b/attachcheck_add_override
new file mode 100755 (executable)
index 0000000..ca8085a
--- /dev/null
@@ -0,0 +1,11 @@
+#!/usr/bin/perl -p -i
+
+# copyright (c) Benjamin Mako Hill <mako@atdot.cc>
+# This software comes with ABSOLUTELY NO WARRANTY.
+# This is free software and is licensed under the GNU GPL version 3 or
+# any later version.
+
+if (not $edited and m/^\s*\n$/) {
+       s/^\s*\n$/X-AttachCheck-Override: Yes\n\n/;
+       $edited = 1;
+}

Benjamin Mako Hill || Want to submit a patch?