From 9884b05a9a7ebd412b33134e10b1b91ce575e5b5 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 7 Jul 2008 13:41:58 +0000 Subject: o fix handling --urpmi-root --- NEWS | 1 + urpm.pm | 3 +++ 2 files changed, 4 insertions(+) diff --git a/NEWS b/NEWS index e0847759..629c4d50 100644 --- a/NEWS +++ b/NEWS @@ -3,6 +3,7 @@ for eg: /var/lib/urpmi/synthesis.hdlist. is now /var/lib/urpmi//synthesis.hdlist.cz it allows easier medium update without using urpmi.update (#31893) + o fix handling --urpmi-root - gurpmi: o do cancel when pressing the 'No' button (#41648) - urpmi: diff --git a/urpm.pm b/urpm.pm index 41852e0a..9ac77f95 100644 --- a/urpm.pm +++ b/urpm.pm @@ -123,6 +123,9 @@ sub is_temporary_file { sub set_files { my ($urpm, $urpmi_root) = @_; + + $urpmi_root = file2absolute_file($urpmi_root); + my %h = ( config => "$urpmi_root/etc/urpmi/urpmi.cfg", configs_dir => "$urpmi_root/etc/urpmi/media.d", -- cgit v1.2.1