From aa290c56c5035272c83d001ba5439fc206ec066f Mon Sep 17 00:00:00 2001 From: Angelo Naselli Date: Fri, 8 May 2015 11:27:35 +0200 Subject: Fixed restart of rpmdragora and dragoraUpdate in case of priority packages and ncurses GUI --- lib/ManaTools/Rpmdragora/pkg.pm | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'lib/ManaTools') diff --git a/lib/ManaTools/Rpmdragora/pkg.pm b/lib/ManaTools/Rpmdragora/pkg.pm index 6d83bded..7ae7f383 100644 --- a/lib/ManaTools/Rpmdragora/pkg.pm +++ b/lib/ManaTools/Rpmdragora/pkg.pm @@ -1004,7 +1004,12 @@ you may now inspect some in order to take actions:"), alarm(0); # reMDK::Common::DataStructure::member not to ask again questions and the like: writeconf(); - exec($0, @argv); + + my $err = yui::YUI::app()->runInTerminal(join(" ", $0, @argv, " --ncurses")); + if ($err == -1) { + exec($0, @argv); + } + destroy $::main_window if $::main_window; exit(0); } -- cgit v1.2.1