base-files: provide /etc/profile.d/locale.sh to set up system locale.
This commit is contained in:
parent
c3aa73d8d7
commit
dc1fb346ae
3 changed files with 11 additions and 2 deletions
|
@ -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
|
||||
|
|
9
srcpkgs/base-files/files/locale.sh
Normal file
9
srcpkgs/base-files/files/locale.sh
Normal 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
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue