Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix:repeat trigger update locale when locale exists #1614

Merged
merged 1 commit into from
Jan 19, 2025

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