From e67a5c2c0d6d83609f468af6b0f2e006ef73a8f5 Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 8 Jul 2023 14:50:38 +0200 Subject: htgen-paste: use _override for content_type forcing --- krebs/5pkgs/simple/htgen-paste/src/htgen-paste | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'krebs/5pkgs/simple/htgen-paste') diff --git a/krebs/5pkgs/simple/htgen-paste/src/htgen-paste b/krebs/5pkgs/simple/htgen-paste/src/htgen-paste index bc806e870..74266e53a 100644 --- a/krebs/5pkgs/simple/htgen-paste/src/htgen-paste +++ b/krebs/5pkgs/simple/htgen-paste/src/htgen-paste @@ -46,8 +46,8 @@ case "$Method $abs_path" in cp -v $content $item >&2 fi - if test -n ${reg_content_type-}; then - echo -n "$req_content_type" > "$item".content_type + if test -n "${req_content_type_override-}"; then + echo -n "$req_content_type_override" > "$item".content_type fi base32short=$(echo $base32 | cut -b-7) -- cgit v1.2.3