Mageia Bugzilla – Attachment 4108 Details for
Bug 9941
Change settings in drakfirewall : shorewall shorewall-ipv6 should be instaled
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch do_pkgs.pm to return true if packages are installed
do_pkgs.pm.patch (text/plain), 529 bytes, created by
Derek Jennings
on 2013-06-06 20:26:46 CEST
(
hide
)
Description:
patch do_pkgs.pm to return true if packages are installed
Filename:
MIME Type:
Creator:
Derek Jennings
Created:
2013-06-06 20:26:46 CEST
Size:
529 bytes
patch
obsolete
>--- /usr/lib/libDrakX/do_pkgs.pm 2013-05-17 14:06:23.000000000 +0100 >+++ do_pkgs.pm 2013-06-06 19:19:18.000000000 +0100 >@@ -73,7 +73,7 @@ > my ($do, $pkgs, $b_auto) = @_; > > my @not_installed = map { my ($package, $file) = @$_; if_(!whereis_binary($file, $::prefix), $package) } @$pkgs; >- return if !@not_installed; >+ return true if !@not_installed; > > $do->in->ask_okcancel(N("Warning"), N("The following packages need to be installed:\n") . join(', ', @not_installed), 1) > or return if !$b_auto && $do->in;
--- /usr/lib/libDrakX/do_pkgs.pm 2013-05-17 14:06:23.000000000 +0100 +++ do_pkgs.pm 2013-06-06 19:19:18.000000000 +0100 @@ -73,7 +73,7 @@ my ($do, $pkgs, $b_auto) = @_; my @not_installed = map { my ($package, $file) = @$_; if_(!whereis_binary($file, $::prefix), $package) } @$pkgs; - return if !@not_installed; + return true if !@not_installed; $do->in->ask_okcancel(N("Warning"), N("The following packages need to be installed:\n") . join(', ', @not_installed), 1) or return if !$b_auto && $do->in;
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 9941
: 4108