Skip to content

Conversation

@heysion
Copy link
Contributor

@heysion heysion commented Nov 14, 2024

Description:

The $HOST_LOCALE contains the '-' symbol, but the output of locale -a does not include this symbol, which leads to repeated updates when updating the locale.

Log:

fixed can correctly skip over these duplicates update.

 + [ -e /etc/locale.gen ]
 + locale -a
 + grep -qi en_us.utf8 
 + locale -a
 + echo zh_CN.UTF-8
 + tr -d - 
 + grep -qi zh_CN.UTF8 

@89luca89
Copy link
Owner

Thanks @heysion

@89luca89 89luca89 merged commit ede77fc into 89luca89:main Jan 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants