1
0
mirror of synced 2026-05-01 14:16:09 +00:00

2006-10-22 18:06:30 by steve

Added to repository; via Ward Vendewege
This commit is contained in:
steve
2006-10-22 18:06:30 +00:00
parent 6e634282fb
commit c22ba8395c

37
hooks/ubuntu/10-generate-locale Executable file
View File

@@ -0,0 +1,37 @@
#!/bin/sh
#
# This script generates a default en_US.UTF-8 locale.
#
# Ward
# --
prefix=$1
#
# Source our common functions
#
if [ -e /usr/lib/xen-tools/common.sh ]; then
. /usr/lib/xen-tools/common.sh
else
. ./hooks/common.sh
fi
#
# Log our start
#
logMessage Script $0 starting
#
# Now that the sources have been setup make sure the system is up to date.
#
chroot ${prefix} /usr/sbin/locale-gen en_US.UTF-8
#
# Log our finish
#
logMessage Script $0 finished