htgen-paste: use _override for content_type forcing

This commit is contained in:
lassulus 2023-07-08 14:50:38 +02:00
parent 64ec34644c
commit e67a5c2c0d
1 changed files with 2 additions and 2 deletions

View File

@ -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)