]> 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)
committerJames Cameron <quozl@laptop.org>
Wed, 5 Nov 2008 00:02:08 +0000 (11:02 +1100)
initchroot.sh

index 706414a6b277ac6781b6c66d489361b9b35e1316..7ac133b43338bce9d5d426f06710293a3407bdd4 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