locale: Check for existence before setting locale
This commit is contained in:
@@ -1,4 +1,4 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
export LANG=en_US.utf8
|
! locale -a | grep en_US.utf8 || export LANG=en_US.utf8
|
||||||
export LC_TIME=tk_TM.utf8
|
! locale -a | grep tk_TM.utf8 || export LC_TIME=tk_TM.utf8
|
||||||
|
|||||||
Reference in New Issue
Block a user