]> git.openstreetmap.org Git - rails.git/commitdiff
Vagrant: Fix locale setup problem
authorVictor Grousset <victor@tuxayo.net>
Thu, 31 Dec 2015 00:22:11 +0000 (01:22 +0100)
committerVictor Grousset <victor@tuxayo.net>
Thu, 31 Dec 2015 00:22:11 +0000 (01:22 +0100)
Because dozens of red locale errors during provisioning are scary

script/vagrant/setup/provision.sh

index df2cfa9604325d261cccc47c461b072fb1d482d2..5699b537b14ef5e42529f363c0bb51996396dba9 100644 (file)
@@ -1,8 +1,8 @@
 #!/usr/bin/env bash
 
 # set locale to UTF-8 compatible. apologies to non-english speakers...
+locale-gen en_GB.utf8
 update-locale LANG=en_GB.utf8 LC_ALL=en_GB.utf8
-locale-gen
 export LANG=en_GB.utf8
 export LC_ALL=en_GB.utf8