From: cat æscling <11325618-aescling@users.noreply.gitlab.com> Date: Wed, 26 Jul 2023 01:21:58 +0000 (-0400) Subject: httpd.execline: fix: typo; s6-test deprecation X-Git-Tag: v1.0.0~19 X-Git-Url: https://git.xn--scling-oua.cat.family/?a=commitdiff_plain;h=d3a629fd1fd39ae6d34309bee5ee59f7328169e3;p=httpd-execline.git httpd.execline: fix: typo; s6-test deprecation The latter is a partial fix --- diff --git a/visible-to-httpd/binaries/httpd.execline b/visible-to-httpd/binaries/httpd.execline index 2860e6e..275f895 100755 --- a/visible-to-httpd/binaries/httpd.execline +++ b/visible-to-httpd/binaries/httpd.execline @@ -148,8 +148,8 @@ if -X -n -t { #### 4. send response ### ##### 4.1. determine found resource's Content-Type ### backtick -i -n Content-Type { - define Content_Type_override_file configuration/overrides/${resourse}/Content-Type - ifelse { s6-test -f ${Content_Type_override_file} -a -r ${Content_Type_override_file} } + define Content_Type_override_file configuration/overrides/${resource}/Content-Type + ifelse { eltest -r ${Content_Type_override_file} } { cat ${Content_Type_override_file} }