From 83bc63f725263c571094e3af1c88c58992bf0ac6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 7 Sep 2010 15:11:20 +0200 Subject: Updating internal variables from lh to lb scheme, should be the last piece to finish the live-helper to live-build rename. --- scripts/build/chroot_localization | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'scripts/build/chroot_localization') diff --git a/scripts/build/chroot_localization b/scripts/build/chroot_localization index 1a1dcf811..ffe331830 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 -- cgit v1.2.3