Added patch to _SPEED

This commit is contained in:
Joan Figueras 2023-07-07 02:51:04 +02:00
parent 6c6439f03c
commit 67ac93909f

View file

@ -56,6 +56,8 @@ prepare() {
if [[ $_SPEED =~ [y|Y] ]]; then
msg2 "Building without all locales..."
sed -e 's/DEVEL=0/DEVEL=1/g' -i makeicecat
# Thanks to cysp74 to report this bug
sed -e 's;find l10n -wholename '\''\*/brand.dtd'\'' | xargs;find l10n -wholename '\''\*/brand.dtd'\'' | xargs -r;g' -i makeicecat
# Also you can choose your locale using external variable _LOCALE. By default in upstream script this locale is es-ES
[ -z "$_LOCALE" ] || sed -e "s/es-ES/$_LOCALE/g" -i makeicecat && echo "$_LOCALE" > custom-shipped-locales
rm -rf data/files-to-append/l10n/*