From d3a629fd1fd39ae6d34309bee5ee59f7328169e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?cat=20=C3=A6scling?= <11325618-aescling@users.noreply.gitlab.com> Date: Tue, 25 Jul 2023 21:21:58 -0400 Subject: [PATCH] httpd.execline: fix: typo; s6-test deprecation The latter is a partial fix --- visible-to-httpd/binaries/httpd.execline | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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} } -- 2.47.3