diff options
author | Eric Wong <e@80x24.org> | 2019-05-15 01:18:08 +0000 |
---|---|---|
committer | Eric Wong <e@80x24.org> | 2019-05-15 01:18:54 +0000 |
commit | 0b1de991a099b5e8b9a9e3e85b5eaaacc9362dbb (patch) | |
tree | a9295edad8c28aec3f87fc35c9142d87d4fea39e /script/public-inbox-purge | |
parent | 70caf43a131fc5bdf7104f82f2acee9d5353d6a8 (diff) | |
download | public-inbox-0b1de991a099b5e8b9a9e3e85b5eaaacc9362dbb.tar.gz |
More tests work without Search::Xapian, now. Usability issues still need to be fixed
Diffstat (limited to 'script/public-inbox-purge')
-rwxr-xr-x | script/public-inbox-purge | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/script/public-inbox-purge b/script/public-inbox-purge index 688dd950..264bcdef 100755 --- a/script/public-inbox-purge +++ b/script/public-inbox-purge @@ -63,6 +63,11 @@ if ($all) { mainrepo => $dir, }); }; + + # somebody could "rm -r" all the Xapian directories; + # let them purge the overview, at least + $ibx->{indexlevel} ||= 'basic' unless $ibx->search; + push @inboxes, $ibx; } |