From c3462bceab11fc761a254bdfbdb4efaeac48223d Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Thu, 10 Apr 2008 22:36:22 +0100
Subject: lh_chroot_linux-image: Catch missing case in local live-initramfs
 handling

This patch catches the case when LH_APT is "apt", its default value. This
was causing build failures when using a local live-initramfs .deb.
---
 helpers/lh_chroot_linux-image | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/lh_chroot_linux-image b/helpers/lh_chroot_linux-image
index 4a2e0e9..bc6de54 100755
--- a/helpers/lh_chroot_linux-image
+++ b/helpers/lh_chroot_linux-image
@@ -98,7 +98,7 @@ EOF
 				aptitude)
 					Apt install ${LH_INITRAMFS}
 					;;
-				apt-get)
+				apt|apt-get)
 					Apt install -f
 					;;
 			esac
-- 
cgit v1.0