From: Marc Haber Date: Sun, 9 Aug 2009 20:37:22 +0000 (+0200) Subject: don't print the "debs/config/scripts" message if no debs, config or scripts option... X-Git-Tag: v0.8.25~8 X-Git-Url: http://git.grml.org/?p=grml-autoconfig.git;a=commitdiff_plain;h=de6bc314c0d635a81eb378792d42babdd44bc2e0 don't print the "debs/config/scripts" message if no debs, config or scripts option was given on the cmdline --- diff --git a/autoconfig.functions b/autoconfig.functions index 4b07eb5..d38aee4 100755 --- a/autoconfig.functions +++ b/autoconfig.functions @@ -1959,7 +1959,7 @@ fi if [ -n "$DCSDIR" ]; then einfo "Debs, config, scripts will be read from $DCSDIR." ; eend 0 -else +elif checkbootparam 'debs' || checkbootparam 'config' || checkbootparam 'scripts'; then einfo "Debs, config, scripts will be read from the live image directly." ; eend 0 fi }