shlib.sh: only parse locale -a output at install time
commitdf467a991b1db07816a68e53d208b16cf71f5275
authorKyle J. McKay <mackyle@gmail.com>
Fri, 24 Apr 2015 20:14:25 +0000 (24 13:14 -0700)
committerKyle J. McKay <mackyle@gmail.com>
Fri, 24 Apr 2015 20:14:25 +0000 (24 13:14 -0700)
tree8676f040394afec6935cb716a35daac75944748f
parent73c29ca3e2dee2dc4cbb5b41829ba33ff1a9ef1a
shlib.sh: only parse locale -a output at install time

Instead of parsing the locale -a output every time we need to
set a UTF-8 locale, do it once at install time and save the result
in var_utf8_locale so that we can much more efficiently use it.

Signed-off-by: Kyle J. McKay <mackyle@gmail.com>
shlib.sh