summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--urpm.pm3
2 files changed, 4 insertions, 0 deletions
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.<medium-name> is now
/var/lib/urpmi/<medium-name>/synthesis.hdlist.cz
it allows easier medium update without using urpmi.update (#31893)
+ o fix handling --urpmi-root <relative dir>
- 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",