aboutsummaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/ManaTools/Rpmdragora/pkg.pm7
1 files changed, 6 insertions, 1 deletions
diff --git a/lib/ManaTools/Rpmdragora/pkg.pm b/lib/ManaTools/Rpmdragora/pkg.pm
index 6d83bde..7ae7f38 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);
}