]> spindle.queued.net Git - xodist/commitdiff
allow comments in package list
authorJames Cameron <quozl@laptop.org>
Wed, 5 Nov 2008 00:02:08 +0000 (11:02 +1100)
committerAndres Salomon <dilinger@debian.org>
Wed, 5 Nov 2008 00:05:10 +0000 (19:05 -0500)
initchroot.sh

index b9ee4654a772fe55cb57aa39198838482371312b..542a1d78eadf04e8f62cb053bd282717607b6f7b 100755 (executable)
@@ -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