summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20120104/19ecfd68/attachment.bin
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20120104/19ecfd68/attachment.bin')
-rw-r--r--zarb-ml/mageia-dev/attachments/20120104/19ecfd68/attachment.bin19
1 files changed, 19 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20120104/19ecfd68/attachment.bin b/zarb-ml/mageia-dev/attachments/20120104/19ecfd68/attachment.bin
new file mode 100644
index 000000000..f6b46fd95
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20120104/19ecfd68/attachment.bin
@@ -0,0 +1,19 @@
+Index: urpm/install.pm
+===================================================================
+--- urpm/install.pm (révision 2572)
++++ urpm/install.pm (copie de travail)
+@@ -109,11 +109,14 @@
+
+ foreach my $file ($pkg->files) {
+ my ($kind) = $file =~ m!/README([^/]*)\.urpmi$! or next;
++ -r $file or next;
+ my $valid;
+ if ($kind eq '') {
+ $valid = 1;
+ } elsif ($kind eq '.install' && !$pkg->flag_installed) {
+ $valid = 1;
++ } elsif ($kind =~ /(.*)\.(deprecated|obsolete)$/) {
++ $valid = 1;
+ } elsif ($kind =~ /(.*)\.(upgrade|update)$/ && $pkg->flag_installed) {
+ if (!$1) {
+ $valid = 1;