]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - tools/choose-default-locale.sh
doc: update os-release spec with new path for container host's file
[thirdparty/systemd.git] / tools / choose-default-locale.sh
index 3b3003835cebe3877ff0181cc2573441045c537f..da9768ad7c3ea87f932ba0f328744e68ff5943ae 100755 (executable)
@@ -1,12 +1,11 @@
 #!/bin/sh
-
 set -e
 
 # Fedora uses C.utf8 but Debian uses C.UTF-8
 if locale -a | grep -xq -E 'C\.(utf8|UTF-8)'; then
-        echo 'C.UTF-8'
+    echo 'C.UTF-8'
 elif locale -a | grep -xqF 'en_US.utf8'; then
-        echo 'en_US.UTF-8'
+    echo 'en_US.UTF-8'
 else
-        echo 'C'
+    echo 'C'
 fi