htgen-paste: use _override for content_type forcing
This commit is contained in:
parent
64ec34644c
commit
e67a5c2c0d
|
@ -46,8 +46,8 @@ case "$Method $abs_path" in
|
||||||
cp -v $content $item >&2
|
cp -v $content $item >&2
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if test -n ${reg_content_type-}; then
|
if test -n "${req_content_type_override-}"; then
|
||||||
echo -n "$req_content_type" > "$item".content_type
|
echo -n "$req_content_type_override" > "$item".content_type
|
||||||
fi
|
fi
|
||||||
|
|
||||||
base32short=$(echo $base32 | cut -b-7)
|
base32short=$(echo $base32 | cut -b-7)
|
||||||
|
|
Loading…
Reference in a new issue