summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20121109/22cc410c
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/attachments/20121109/22cc410c')
-rw-r--r--zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment-0001.bin26
-rw-r--r--zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment.bin26
2 files changed, 52 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment-0001.bin b/zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment-0001.bin
new file mode 100644
index 000000000..6da53fe3b
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment-0001.bin
@@ -0,0 +1,26 @@
+Index: urpm.pm
+===================================================================
+--- urpm.pm (révision 6367)
++++ urpm.pm (copie de travail)
+@@ -165,7 +165,9 @@
+ my ($urpm) = @_;
+ $< or return;
+
+- my $dir = ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $< . "/lib";
++ my $dir = $urpm->{options}{cachedir} ?
++ $urpm->{options}{cachedir} . "/lib":
++ ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $< . "/lib";
+ init_dir($urpm, $dir);
+ }
+
+@@ -174,7 +176,9 @@
+ my ($urpm) = @_;
+ $< or return;
+
+- my $dir = ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $<;
++ my $dir = $urpm->{options}{cachedir} ?
++ $urpm->{options}{cachedir} :
++ ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $<;
+ init_dir($urpm, $dir);
+ }
+
diff --git a/zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment.bin b/zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment.bin
new file mode 100644
index 000000000..6da53fe3b
--- /dev/null
+++ b/zarb-ml/mageia-dev/attachments/20121109/22cc410c/attachment.bin
@@ -0,0 +1,26 @@
+Index: urpm.pm
+===================================================================
+--- urpm.pm (révision 6367)
++++ urpm.pm (copie de travail)
+@@ -165,7 +165,9 @@
+ my ($urpm) = @_;
+ $< or return;
+
+- my $dir = ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $< . "/lib";
++ my $dir = $urpm->{options}{cachedir} ?
++ $urpm->{options}{cachedir} . "/lib":
++ ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $< . "/lib";
+ init_dir($urpm, $dir);
+ }
+
+@@ -174,7 +176,9 @@
+ my ($urpm) = @_;
+ $< or return;
+
+- my $dir = ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $<;
++ my $dir = $urpm->{options}{cachedir} ?
++ $urpm->{options}{cachedir} :
++ ($urpm->{urpmi_root} || '') . userdir_prefix($urpm) . $<;
+ init_dir($urpm, $dir);
+ }
+