Remove hack to add lang= values to XML files

Publican 4.3.2-3 already add the lang= value, so adding it twice
only get the file rejected when checked against the DTD.
This commit is contained in:
Petter Reinholdtsen 2020-10-14 10:01:05 +02:00
parent df8211400c
commit ebbf2c9dfb

View file

@ -14,7 +14,6 @@ parse_options "$@"
if [ ! -e tmp/$OPT_lang/xml ] || [ -z "$OPT_skip" ]; then
publican build --formats=xml --langs=$OPT_lang
sed -i -e "s/<book/<book lang=\"${OPT_lang}\"/" tmp/$OPT_lang/xml/debian-handbook.xml
fi
cp -a bin/epub tmp/$OPT_lang/xml/