From 8a2d894f9674b607265f24e811460ffbef557ac8 Mon Sep 17 00:00:00 2001 From: James Cameron 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 706414a..7ac133b 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.2