From 82bbfd0b05b24479a860f2bd3f067d03183fcb22 Mon Sep 17 00:00:00 2001
From: James Cameron <quozl@laptop.org>
Date: Wed, 5 Nov 2008 11:02:08 +1100
Subject: [PATCH] allow comments in package list

---
 initchroot.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/initchroot.sh b/initchroot.sh
index b9ee465..542a1d7 100755
--- a/initchroot.sh
+++ b/initchroot.sh
@@ -169,7 +169,7 @@ i8042
 EOF
 
 # install packages
-(chroot ${ROOT_DIR} aptitude install -y `cat ${PLIST}`)
+(chroot ${ROOT_DIR} aptitude install -y `grep --invert-match '^#' ${PLIST}`)
 
 # configure X
 if [ -d ${ROOT_DIR}/etc/X11 ]; then
-- 
2.39.5