diff options
author | Marcelo Leitner <mrl@mandriva.com> | 2007-06-27 14:25:56 +0000 |
---|---|---|
committer | Marcelo Leitner <mrl@mandriva.com> | 2007-06-27 14:25:56 +0000 |
commit | fa3742ccd7768aa62b981b29307538f50d537983 (patch) | |
tree | a9333b4ddf5cbf48c67e1f3e0cbb9a1abb3bc48d /lib/Iurt | |
parent | e3e4da59cfe87b975f789f61d5d9a89cbdb0532a (diff) | |
download | iurt-fa3742ccd7768aa62b981b29307538f50d537983.tar iurt-fa3742ccd7768aa62b981b29307538f50d537983.tar.gz iurt-fa3742ccd7768aa62b981b29307538f50d537983.tar.bz2 iurt-fa3742ccd7768aa62b981b29307538f50d537983.tar.xz iurt-fa3742ccd7768aa62b981b29307538f50d537983.zip |
- We do not run chrooted, so we must prefix the media path with the chroot
info.
Diffstat (limited to 'lib/Iurt')
-rw-r--r-- | lib/Iurt/Urpmi.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Iurt/Urpmi.pm b/lib/Iurt/Urpmi.pm index 2cc01c3..4343f8f 100644 --- a/lib/Iurt/Urpmi.pm +++ b/lib/Iurt/Urpmi.pm @@ -126,7 +126,7 @@ sub urpmi_command { # Check if the media is not empty, as add_media will abort if it fails my $DP; - if (!opendir ($DP, $url)) { + if (!opendir ($DP, "$chroot_tmp/$url")) { plog ('ERROR', "Failed to add additional media at $url: $!"); next; } |