make sure the C.UTF-8 locale is installed on the system
This commit is contained in:
parent
43c23270a6
commit
91e87a6d1b
1 changed files with 9 additions and 0 deletions
|
|
@ -218,6 +218,15 @@ endif
|
|||
|
||||
files(iso_639_xml, iso_3166_xml) # Check to make sure these exist
|
||||
|
||||
# Make sure the locale C.UTF-8 is installed on the system
|
||||
|
||||
c_utf8_check = run_command('locale', '-a', check: true).stdout()
|
||||
have_c_utf8 = 'C.utf8' in c_utf8_check.split('\n')
|
||||
|
||||
if not have_c_utf8
|
||||
warning('C.utf8 locale not available on this system.')
|
||||
endif
|
||||
|
||||
# Post-install script
|
||||
gnome.post_install(
|
||||
gtk_update_icon_cache: true,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue