summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_localization
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-09-07 15:11:20 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:21 +0100
commit83bc63f725263c571094e3af1c88c58992bf0ac6 (patch)
tree25be3b96127e122c9f1448f6155dea6b03293248 /scripts/build/chroot_localization
parent293765885126c0fe429718f403be2802a225cd68 (diff)
downloadlive-build-83bc63f725263c571094e3af1c88c58992bf0ac6.zip
live-build-83bc63f725263c571094e3af1c88c58992bf0ac6.tar.gz
Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename.
Diffstat (limited to 'scripts/build/chroot_localization')
-rwxr-xr-xscripts/build/chroot_localization22
1 files changed, 11 insertions, 11 deletions
diff --git a/scripts/build/chroot_localization b/scripts/build/chroot_localization
index 1a1dcf8..ffe3318 100755
--- a/scripts/build/chroot_localization
+++ b/scripts/build/chroot_localization
@@ -11,7 +11,7 @@
set -e
# Including common functions
-. "${LH_BASE:-/usr/share/live/build}"/scripts/build.sh
+. "${LB_BASE:-/usr/share/live/build}"/scripts/build.sh
# Setting static variables
DESCRIPTION="$(Echo 'install localization packages into chroot')"
@@ -39,9 +39,9 @@ Check_lockfile .lock
Create_lockfile .lock
# Setting localizations
-if [ -n "${LH_LANGUAGE}" ]
+if [ -n "${LB_LANGUAGE}" ]
then
- case "${LH_LANGUAGE}" in
+ case "${LB_LANGUAGE}" in
af)
# Afrikaans
LOCALIZATIONS="iceweasel kde openoffice"
@@ -593,12 +593,12 @@ then
esac
# Setting languages
- ICEAPE="${ICEAPE:-$LH_LANGUAGE}"
- ICEDOVE="${ICEDOVE:-$LH_LANGUAGE}"
- ICEWEASEL="${ICEWEASEL:-$LH_LANGUAGE}"
- KDE="${KDE:-$LH_LANGUAGE}"
- KOFFICE="${KOFFICE:-$LH_LANGUAGE}"
- OPENOFFICE="${OPENOFFICE:-$LH_LANGUAGE}"
+ ICEAPE="${ICEAPE:-$LB_LANGUAGE}"
+ ICEDOVE="${ICEDOVE:-$LB_LANGUAGE}"
+ ICEWEASEL="${ICEWEASEL:-$LB_LANGUAGE}"
+ KDE="${KDE:-$LB_LANGUAGE}"
+ KOFFICE="${KOFFICE:-$LB_LANGUAGE}"
+ OPENOFFICE="${OPENOFFICE:-$LB_LANGUAGE}"
# Setting packages
for LOCALIZATION in ${LOCALIZATIONS}
@@ -612,7 +612,7 @@ then
Check_installed chroot/usr/bin/icedove icedove
if [ $INSTALL_STATUS -eq 0 ]
then
- if [ "${LH_DISTRIBUTION}" = lenny ]
+ if [ "${LB_DISTRIBUTION}" = lenny ]
then
Check_package "" icedove-locale-"${ICEDOVE}"
else
@@ -639,7 +639,7 @@ then
esac
done
- if [ "${LH_DISTRIBUTION}" = "lenny" ]
+ if [ "${LB_DISTRIBUTION}" = "lenny" ]
then
Check_installed chroot/usr/bin/gwenview gwenview; [ $INSTALL_STATUS -eq 0 ] && Check_package "" gwenview-i18n
fi