From d31f8780d6962eb7d18a23ef3958cbb06ec8db69 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 30 Jan 2012 11:28:48 +0100 Subject: [PATCH] Check for dialog executeable only when using interactive mode --- grml-debootstrap | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/grml-debootstrap b/grml-debootstrap index 1ab3dd7..bfe7504 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -264,7 +264,7 @@ stage() { # }}} # make sure we have what we need {{{ -check4progs debootstrap dialog || bailout 1 +check4progs debootstrap || bailout 1 # }}} # source main configuration file {{{ @@ -748,6 +748,8 @@ fi # interactive mode {{{ interactive_mode() { + check4progs dialog || bailout 1 + welcome_dialog prompt_for_release -- 2.1.4