summaryrefslogtreecommitdiffstats
path: root/krebs/5pkgs/simple/htgen-paste
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-07-08 14:50:38 +0200
committerlassulus <git@lassul.us>2023-07-08 14:50:38 +0200
commite67a5c2c0d6d83609f468af6b0f2e006ef73a8f5 (patch)
tree6e5b9dbf3c5b4ebf335be97d2be423fb00384150 /krebs/5pkgs/simple/htgen-paste
parent64ec34644c424ce83a4fc9ec880a4f21122fb64c (diff)
htgen-paste: use _override for content_type forcing
Diffstat (limited to 'krebs/5pkgs/simple/htgen-paste')
-rw-r--r--krebs/5pkgs/simple/htgen-paste/src/htgen-paste4
1 files changed, 2 insertions, 2 deletions
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)