From a0e0e75d11e1df50a15de7161f6932a4ec3600b6 Mon Sep 17 00:00:00 2001 From: akl Date: Mon, 20 Aug 2007 06:18:43 +0000 Subject: [PATCH] Add message that batch mode is unavailable in current version of IW. --- runInstall | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/runInstall b/runInstall index a766b2e..37bb8a2 100755 --- a/runInstall +++ b/runInstall @@ -668,7 +668,7 @@ def parse_parameters(): dest="gui", default=True, help=help_str) - help_str = "Runs the Installation Wizard in the TUI mode." + help_str = "Runs the Installation Wizard in the TUI mode (UNAVAILABLE NOW)." opt_parser.add_option("-b", "--batch", action="store_false", @@ -1046,6 +1046,10 @@ if __name__ == "__main__": sys.exit(os.system(cmd)) #----- TUI --------------------- + + msg = "Sorry, batch mode is unavailable in current version of SALOME Install Wizard!\n" + msg += "Use GUI mode to install SALOME, please." + error_exit(msg) # get program dir cur_dir = get_program_path() -- 2.39.2