summaryrefslogtreecommitdiffstats
path: root/perl-install/install_any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install_any.pm')
-rw-r--r--perl-install/install_any.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm
index e63c956bb..36b55537b 100644
--- a/perl-install/install_any.pm
+++ b/perl-install/install_any.pm
@@ -628,8 +628,8 @@ sub install_urpmi {
";
} else {
#- remove not selected media by removing hdlist and synthesis files copied.
- unlink "/var/lib/urpmi/hdlist.$name.cz";
- unlink "/var/lib/urpmi/synthesis.hdlist.$name.cz";
+ unlink "$prefix/var/lib/urpmi/hdlist.$name.cz";
+ unlink "$prefix/var/lib/urpmi/synthesis.hdlist.$name.cz";
}
}
eval { output "$prefix/etc/urpmi/urpmi.cfg", @cfg };