diff options
author | lassulus <git@lassul.us> | 2023-07-08 14:50:38 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-07-08 14:50:38 +0200 |
commit | e67a5c2c0d6d83609f468af6b0f2e006ef73a8f5 (patch) | |
tree | 6e5b9dbf3c5b4ebf335be97d2be423fb00384150 /krebs/5pkgs/simple/htgen-paste/src | |
parent | 64ec34644c424ce83a4fc9ec880a4f21122fb64c (diff) |
htgen-paste: use _override for content_type forcing
Diffstat (limited to 'krebs/5pkgs/simple/htgen-paste/src')
-rw-r--r-- | krebs/5pkgs/simple/htgen-paste/src/htgen-paste | 4 |
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) |