[lxc-devel] [PATCH] lxc-ubuntu: Fix wrong variable name

Stéphane Graber stgraber at ubuntu.com
Thu Nov 29 15:08:22 UTC 2012


$LANGPACK_LIST was renamed to $langpacks but not all the code was updated.

Signed-off-by: Stéphane Graber <stgraber at ubuntu.com>
---
 templates/lxc-ubuntu | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/templates/lxc-ubuntu b/templates/lxc-ubuntu
index 8d230e6..1e1d77c 100644
--- a/templates/lxc-ubuntu
+++ b/templates/lxc-ubuntu
@@ -179,7 +179,7 @@ download_ubuntu()
     langpacks="language-pack-en"
 
     if which dpkg >/dev/null 2>&1; then
-        langpacks=`(echo $LANGPACK_LIST &&
+        langpacks=`(echo $langpacks &&
                     dpkg -l | grep -E "^ii  language-pack-[a-z]* " |
                         cut -d ' ' -f3) | sort -u`
     fi
-- 
1.8.0





More information about the lxc-devel mailing list