aboutsummaryrefslogtreecommitdiffstats
path: root/bin/update
diff options
context:
space:
mode:
Diffstat (limited to 'bin/update')
-rwxr-xr-xbin/update4
1 files changed, 4 insertions, 0 deletions
diff --git a/bin/update b/bin/update
index ac83094a..bb4682d3 100755
--- a/bin/update
+++ b/bin/update
@@ -442,6 +442,10 @@ def update_qfiles():
for filename in os.listdir(dirpath):
filepath = os.path.join(dirpath, filename)
filebase, ext = os.path.splitext(filepath)
+ # A bug in Mailman 2.1.9 left .bak files behind in some
+ # circumstances. It should be safe to remove them.
+ if ext == '.bak':
+ os.remove(filepath)
# Handle the .db metadata files as part of the handling of the
# .pck or .msg message files.
if ext not in ('.pck', '.msg'):