base-files: provide /etc/profile.d/locale.sh to set up system locale.

This commit is contained in:
Juan RP 2011-11-08 06:57:50 +01:00
parent c3aa73d8d7
commit dc1fb346ae
3 changed files with 11 additions and 2 deletions

View File

@ -1,5 +1,5 @@
case "${ACTION}" in
post)
ln -sf /proc/self/mounts etc/mtab
[ ! -h etc/mtab ] && ln -sf /proc/self/mounts etc/mtab
;;
esac

View File

@ -0,0 +1,9 @@
# Sets up locale system settings from /etc/locale.conf.
#
if [ -s /etc/locale.conf ]; then
. /etc/locale.conf
fi
export LANG LANGUAGE LC_CTYPE LC_NUMERIC LC_TIME LC_COLLATE LC_MONETARY
export LC_MESSAGES LC_PAPER LC_NAME LC_ADDRESS LC_TELEPHONE LC_MEASUREMENT
export LC_INDENTIFICATION

View File

@ -1,6 +1,6 @@
# Template file for 'base-files'
pkgname=base-files
version=0.54
version=0.55
short_desc="Void GNU/Linux base system files"
maintainer="Juan RP <xtraeme@gmail.com>"
homepage="http://code.google.com/p/xbps"