diff options
author | Angelo Naselli <anaselli@linux.it> | 2015-05-08 11:27:35 +0200 |
---|---|---|
committer | Angelo Naselli <anaselli@linux.it> | 2015-05-08 11:27:35 +0200 |
commit | aa290c56c5035272c83d001ba5439fc206ec066f (patch) | |
tree | bd2b982460cd3b6188890f4e2c582d79b2c534c9 /lib/ManaTools/Rpmdragora | |
parent | 8a9c6878a8aa455d5f3571ad15df121ceccdfbdf (diff) | |
download | colin-keep-aa290c56c5035272c83d001ba5439fc206ec066f.tar colin-keep-aa290c56c5035272c83d001ba5439fc206ec066f.tar.gz colin-keep-aa290c56c5035272c83d001ba5439fc206ec066f.tar.bz2 colin-keep-aa290c56c5035272c83d001ba5439fc206ec066f.tar.xz colin-keep-aa290c56c5035272c83d001ba5439fc206ec066f.zip |
Fixed restart of rpmdragora and dragoraUpdate in case of priority
packages and ncurses GUI
Diffstat (limited to 'lib/ManaTools/Rpmdragora')
-rw-r--r-- | lib/ManaTools/Rpmdragora/pkg.pm | 7 |
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); } |