Mageia Bugzilla – Attachment 4375 Details for
Bug 11287
Silencing rpmdrake auto-orphans
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
patch file for silencing auto-orphans
orphanpatch.diff (text/plain), 1.68 KB, created by
Stephen Butler
on 2013-09-25 12:10:21 CEST
(
hide
)
Description:
patch file for silencing auto-orphans
Filename:
MIME Type:
Creator:
Stephen Butler
Created:
2013-09-25 12:10:21 CEST
Size:
1.68 KB
patch
obsolete
>diff -rupN rpmdrake-5.49/Rpmdrake/pkg.pm rpmdrake-5.49-new/Rpmdrake/pkg.pm >--- rpmdrake-5.49/Rpmdrake/pkg.pm 2013-04-20 19:01:12.000000000 -0500 >+++ rpmdrake-5.49-new/Rpmdrake/pkg.pm 2013-09-25 03:34:55.366257676 -0500 >@@ -903,13 +903,13 @@ you may now inspect some in order to tak > > statusbar_msg_remove($statusbar_msg_id); #- XXX maybe remove this > >- if ($exit_code == 0 && !$::rpmdrake_options{auto_orphans}) { >- if (urpm::orphans::check_unrequested_orphans_after_auto_select($urpm)) { >- if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { >- interactive_msg(N("Orphan packages"), $msg, scroll => 1); >- } >- } >- } >+# if ($exit_code == 0 && !$::rpmdrake_options{auto_orphans}) { >+# if (urpm::orphans::check_unrequested_orphans_after_auto_select($urpm)) { >+# if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { >+# interactive_msg(N("Orphan packages"), $msg, scroll => 1); >+# } >+# } >+# } > > return_with_exit_code: > $something_installed = gurpm::RPMProgressDialog::get_something_done(); >@@ -954,11 +954,11 @@ sub perform_removal { > ); > return 1; > } else { >- if ($may_be_orphans && !$::rpmdrake_options{auto_orphans}) { >- if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { >- interactive_msg(N("Information"), $msg, scroll => 1); >- } >- } >+# if ($may_be_orphans && !$::rpmdrake_options{auto_orphans}) { >+# if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { >+# interactive_msg(N("Information"), $msg, scroll => 1); >+# } >+# } > return 0; > } > }
diff -rupN rpmdrake-5.49/Rpmdrake/pkg.pm rpmdrake-5.49-new/Rpmdrake/pkg.pm --- rpmdrake-5.49/Rpmdrake/pkg.pm 2013-04-20 19:01:12.000000000 -0500 +++ rpmdrake-5.49-new/Rpmdrake/pkg.pm 2013-09-25 03:34:55.366257676 -0500 @@ -903,13 +903,13 @@ you may now inspect some in order to tak statusbar_msg_remove($statusbar_msg_id); #- XXX maybe remove this - if ($exit_code == 0 && !$::rpmdrake_options{auto_orphans}) { - if (urpm::orphans::check_unrequested_orphans_after_auto_select($urpm)) { - if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { - interactive_msg(N("Orphan packages"), $msg, scroll => 1); - } - } - } +# if ($exit_code == 0 && !$::rpmdrake_options{auto_orphans}) { +# if (urpm::orphans::check_unrequested_orphans_after_auto_select($urpm)) { +# if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { +# interactive_msg(N("Orphan packages"), $msg, scroll => 1); +# } +# } +# } return_with_exit_code: $something_installed = gurpm::RPMProgressDialog::get_something_done(); @@ -954,11 +954,11 @@ sub perform_removal { ); return 1; } else { - if ($may_be_orphans && !$::rpmdrake_options{auto_orphans}) { - if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { - interactive_msg(N("Information"), $msg, scroll => 1); - } - } +# if ($may_be_orphans && !$::rpmdrake_options{auto_orphans}) { +# if (my $msg = urpm::orphans::get_now_orphans_gui_msg($urpm)) { +# interactive_msg(N("Information"), $msg, scroll => 1); +# } +# } return 0; } }
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 11287
:
4374
| 4375