Mageia Bugzilla – Attachment 6120 Details for
Bug 14266
If you accept .rpmnew from the setup package, all your login data is lost and you cannot log in anymore
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
Patch to filter out critical config files after packages are installed
drakrpm-filter-rpmnew.patch (text/plain), 1.44 KB, created by
Martin Whitaker
on 2015-03-22 20:03:49 CET
(
hide
)
Description:
Patch to filter out critical config files after packages are installed
Filename:
MIME Type:
Creator:
Martin Whitaker
Created:
2015-03-22 20:03:49 CET
Size:
1.44 KB
patch
obsolete
>--- Rpmdrake/pkg.pm.orig 2015-03-22 18:19:08.556138616 +0000 >+++ Rpmdrake/pkg.pm 2015-03-22 18:51:16.818547389 +0000 >@@ -855,7 +855,7 @@ > foreach my $id (@rpms_upgrade) { > my $pkg = $urpm->{depslist}[$id]; > next if $pkg->arch eq 'src'; >- $pkg2rpmnew{$pkg->fullname} = [ grep { -r "$_.rpmnew" || -r "$_.rpmsave" } $pkg->conf_files ]; >+ $pkg2rpmnew{$pkg->fullname} = [ grep { (-r "$_.rpmnew" || -r "$_.rpmsave") && !ignore_rpmnew($_) } $pkg->conf_files ]; > } > statusbar_msg_remove($id); > dialog_rpmnew(N("The installation is finished; everything was installed correctly. >--- Rpmdrake/pkg.pm.orig 2015-03-22 18:19:08.556138616 +0000 >+++ Rpmdrake/pkg.pm 2015-03-22 18:51:16.818547389 +0000 >@@ -855,7 +855,7 @@ > foreach my $id (@rpms_upgrade) { > my $pkg = $urpm->{depslist}[$id]; > next if $pkg->arch eq 'src'; >- $pkg2rpmnew{$pkg->fullname} = [ grep { -r "$_.rpmnew" || -r "$_.rpmsave" } $pkg->conf_files ]; >+ $pkg2rpmnew{$pkg->fullname} = [ grep { (-r "$_.rpmnew" || -r "$_.rpmsave") && !ignore_rpmnew($_) } $pkg->conf_files ]; > } > statusbar_msg_remove($id); > dialog_rpmnew(N("The installation is finished; everything was installed correctly.
--- Rpmdrake/pkg.pm.orig 2015-03-22 18:19:08.556138616 +0000 +++ Rpmdrake/pkg.pm 2015-03-22 18:51:16.818547389 +0000 @@ -855,7 +855,7 @@ foreach my $id (@rpms_upgrade) { my $pkg = $urpm->{depslist}[$id]; next if $pkg->arch eq 'src'; - $pkg2rpmnew{$pkg->fullname} = [ grep { -r "$_.rpmnew" || -r "$_.rpmsave" } $pkg->conf_files ]; + $pkg2rpmnew{$pkg->fullname} = [ grep { (-r "$_.rpmnew" || -r "$_.rpmsave") && !ignore_rpmnew($_) } $pkg->conf_files ]; } statusbar_msg_remove($id); dialog_rpmnew(N("The installation is finished; everything was installed correctly. --- Rpmdrake/pkg.pm.orig 2015-03-22 18:19:08.556138616 +0000 +++ Rpmdrake/pkg.pm 2015-03-22 18:51:16.818547389 +0000 @@ -855,7 +855,7 @@ foreach my $id (@rpms_upgrade) { my $pkg = $urpm->{depslist}[$id]; next if $pkg->arch eq 'src'; - $pkg2rpmnew{$pkg->fullname} = [ grep { -r "$_.rpmnew" || -r "$_.rpmsave" } $pkg->conf_files ]; + $pkg2rpmnew{$pkg->fullname} = [ grep { (-r "$_.rpmnew" || -r "$_.rpmsave") && !ignore_rpmnew($_) } $pkg->conf_files ]; } statusbar_msg_remove($id); dialog_rpmnew(N("The installation is finished; everything was installed correctly.
View Attachment As Raw
Actions:
View
Attachments on
bug 14266
:
6120
|
6121
|
6125
|
6128