]> Sergey Matveev's repositories - public-inbox.git/blobdiff - lib/PublicInbox/WwwAltId.pm
make zlib-related modules a hard dependency
[public-inbox.git] / lib / PublicInbox / WwwAltId.pm
index 630ed6861cfc8d6ff21a167dfbd9a14ea95bca5b..e5476d1f50aeedf467feac6c0af56e57ce4baba7 100644 (file)
@@ -8,6 +8,7 @@ use PublicInbox::Qspawn;
 use PublicInbox::WwwStream qw(html_oneshot);
 use PublicInbox::AltId;
 use PublicInbox::Spawn qw(which);
+use PublicInbox::GzipFilter;
 our $sqlite3 = $ENV{SQLITE3};
 
 sub sqlite3_missing ($) {
@@ -64,13 +65,6 @@ or
 EOF
        }
 
-       eval { require PublicInbox::GzipFilter } or
-               return html_oneshot($ctx, 501, \<<EOF);
-<pre>gzip output not available
-
-The administrator needs to install the Compress::Raw::Zlib Perl module
-to support gzipped sqlite3 dumps.</pre>
-EOF
        $sqlite3 //= which('sqlite3');
        if (!defined($sqlite3)) {
                return html_oneshot($ctx, 501, \<<EOF);