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