locale: Skip conf if locale is not available
This commit is contained in:
@@ -1,4 +1,6 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
|
command -v locale >/dev/null 2>&1 || return
|
||||||
|
|
||||||
! locale -a | grep en_US.utf8 || export LANG=en_US.utf8
|
! locale -a | grep en_US.utf8 || export LANG=en_US.utf8
|
||||||
! locale -a | grep en_DK.utf8 || export LC_TIME=en_DK.utf8
|
! locale -a | grep en_DK.utf8 || export LC_TIME=en_DK.utf8
|
||||||
|
|||||||
Reference in New Issue
Block a user