From 2327a25527356813236a31424bad047ac3fa3ead Mon Sep 17 00:00:00 2001 From: xuechen Date: Thu, 22 Feb 2024 13:30:19 +0800 Subject: [PATCH] Update build.sh --- build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 4549839..d71f251 100755 --- a/build.sh +++ b/build.sh @@ -54,7 +54,7 @@ sed -i 's|--with-compat||g' rules sed -i 's|--with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_flv_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module|--with-http_ssl_module|g' rules sed -i 's|--with-mail --with-mail_ssl_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module|--with-pcre-jit --without-select_module --without-poll_module --without-http_access_module --without-http_autoindex_module --without-http_browser_module --without-http_charset_module --without-http_empty_gif_module --without-http_limit_conn_module --without-http_memcached_module --without-http_mirror_module --without-http_referer_module --without-http_split_clients_module --without-http_scgi_module --without-http_ssi_module --without-http_upstream_hash_module --without-http_upstream_ip_hash_module --without-http_upstream_keepalive_module --without-http_upstream_least_conn_module --without-http_upstream_random_module --without-http_upstream_zone_module|g' rules cd .. -dpkg-buildpackage -b > /dev/null 2>&1 +dpkg-buildpackage -b cd .. cp nginx_*.deb nginx.deb hash=$(sha256sum nginx.deb | awk '{print $1}')