[ -n "$BOOT_METHOD" ] && echo " Boot method: $BOOT_METHOD"
[ -n "$TEMPLATE_DIRECTORY" ] && echo " Template files: $TEMPLATE_DIRECTORY"
[ -n "$FAI_ARGS" ] && echo " additional arguments for FAI: $FAI_ARGS"
- [ -n "$VERBOSE" ] && echo " Using VERBOSE mode."
[ -n "$LOGFILE" ] && echo " Logging to file: $LOGFILE"
+ [ -n "$VERBOSE" ] && echo " Using VERBOSE mode."
echo
echo -n "Is this ok for you? [y/N] "
read a
sed -i "s/\(deb .\+\)\([ \t]+\)$DIST\([ \t]+\)\(main \)/\1\2 $SUITE \3\4/" /etc/grml/fai/apt/sources.list
# notice: activate grml-live pool only if we are building against unstable:
if grep -qe unstable -qe sid /etc/grml/fai/apt/sources.list ; then
- grep -q 'grml-live.*main' || \
+ grep -q 'grml-live.*main' /etc/grml/fai/apt/sources.list || \
grep grml-stable /etc/grml/fai/apt/sources.list | \
sed 's/grml-stable/grml-live/' >> /etc/grml/fai/apt/sources.list
else