99-etc-default-locale 550 B

1234567891011121314151617
  1. #!/bin/sh
  2. set -e
  3. echo "Creating /etc/default/locale"
  4. # /etc/default/locale is not a conffile. It is unowned, but primarily managed
  5. # by the "locales" package's maintainer scripts. We purge that package
  6. # in 98-remove_unwanted_packages (because we use locales-all instead),
  7. # thus /etc/default/locale is removed. Various scripts of ours depend on this
  8. # file to exist and contain a valid $LANG value.
  9. #
  10. # Tails Greeter's PostLogin script will later change this value according to
  11. # the user's choice.
  12. echo 'LANG=en_US.UTF-8' > /etc/default/locale