diff options
author | Olivier Blin <oblin@mandriva.com> | 2008-11-17 21:15:16 +0000 |
---|---|---|
committer | Olivier Blin <oblin@mandriva.com> | 2008-11-17 21:15:16 +0000 |
commit | 88fef1693a7248ebec4f8380066b0d2fa418d2ef (patch) | |
tree | cff4521ee066945d5b00bcb31aefe0588a277eb9 /perl-install/install | |
parent | 662ae3abbbaf7364a987007b6746b8aea50e13a6 (diff) | |
download | drakx-88fef1693a7248ebec4f8380066b0d2fa418d2ef.tar drakx-88fef1693a7248ebec4f8380066b0d2fa418d2ef.tar.gz drakx-88fef1693a7248ebec4f8380066b0d2fa418d2ef.tar.bz2 drakx-88fef1693a7248ebec4f8380066b0d2fa418d2ef.tar.xz drakx-88fef1693a7248ebec4f8380066b0d2fa418d2ef.zip |
fix reading compssUsers.pl if rpmsrate is forced (for example with drakx-in-chroot)
Diffstat (limited to 'perl-install/install')
-rw-r--r-- | perl-install/install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/install/media.pm | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/perl-install/install/NEWS b/perl-install/install/NEWS index 9b0e4555b..78939e0a8 100644 --- a/perl-install/install/NEWS +++ b/perl-install/install/NEWS @@ -1,4 +1,5 @@ - fix detecting SMP (was broken we relied on install kernel being non-smp) (#44825) +- fix reading compssUsers.pl if rpmsrate is forced (for example with drakx-in-chroot) Version 11.69 - 11 October 2008 diff --git a/perl-install/install/media.pm b/perl-install/install/media.pm index 8a52befee..d96236039 100644 --- a/perl-install/install/media.pm +++ b/perl-install/install/media.pm @@ -666,9 +666,11 @@ sub get_media_cfg { #- copy latest compssUsers.pl and rpmsrate somewhere locally if ($force_rpmsrate || ! -e '/tmp/rpmsrate') { - getAndSaveFile_($phys_medium, "media_info/compssUsers.pl", "/tmp/compssUsers.pl"); getAndSaveFile_($phys_medium, "media_info/rpmsrate", "/tmp/rpmsrate"); } + if ($force_rpmsrate || ! -e '/tmp/compssUsers.pl') { + getAndSaveFile_($phys_medium, "media_info/compssUsers.pl", "/tmp/compssUsers.pl"); + } $suppl_CDs, $o->{copy_rpms_on_disk}; |