Linux standalone: Include locale files in the bundle, and generate locale definition...
authorJoey Hess <joeyh@joeyh.name>
Tue, 4 Oct 2016 20:37:43 +0000 (16:37 -0400)
committerJoey Hess <joeyh@joeyh.name>
Tue, 4 Oct 2016 20:37:43 +0000 (16:37 -0400)
commitaacd9b190dc390ac1da44c1dc1aafbf7d759e84e
treef1dd8a77cf8a32e11ef920842295b72e9020697c
parenta93e38e8fc4c6401ba1368e93bf7f4c20b06f636
Linux standalone: Include locale files in the bundle, and generate locale definition files for the locales in use when starting runshell.

Currently only done for utf-8 locales because the charset can easily be
told for those. Other locales don't include the charset in their name.

The locale definition is generated under git-annex.linux/locales.
So, this only works if the user can write there.

If locale generation fails for any reason, it's silently skipped.

The git-annex-standalone.deb installs the bundle under /usr, so this locale
generation won't work for non-root users.
Build/BundledPrograms.hs
CHANGELOG
Makefile
standalone/linux/skel/runshell