From: James Cameron Date: Wed, 5 Nov 2008 00:02:08 +0000 (+1100) Subject: allow comments in package list X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a2d894f9674b607265f24e811460ffbef557ac8;p=xodist allow comments in package list --- 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