diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2004-01-30 14:19:45 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2004-01-30 14:19:45 +0000 |
commit | 3a9a3654d1112f9a59d46846b579b7a803167713 (patch) | |
tree | ff22de65c16c1ca97c05dfd412811f7fc33bff6c /perl-install/install_steps.pm | |
parent | c43bcd59341ad062c0c44e7f274f6683b386e1eb (diff) | |
download | drakx-3a9a3654d1112f9a59d46846b579b7a803167713.tar drakx-3a9a3654d1112f9a59d46846b579b7a803167713.tar.gz drakx-3a9a3654d1112f9a59d46846b579b7a803167713.tar.bz2 drakx-3a9a3654d1112f9a59d46846b579b7a803167713.tar.xz drakx-3a9a3654d1112f9a59d46846b579b7a803167713.zip |
xxx-agp is not loaded at install, so when_load() is not the right place
Diffstat (limited to 'perl-install/install_steps.pm')
-rw-r--r-- | perl-install/install_steps.pm | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm index 66cf2e56f..38a46334c 100644 --- a/perl-install/install_steps.pm +++ b/perl-install/install_steps.pm @@ -334,6 +334,10 @@ sub beforeInstallPackages { log::l("setting excludedocs to $o->{excludedocs}"); substInFile { s/%_excludedocs.*//; $_ .= "%_excludedocs yes\n" if eof && $o->{excludedocs} } "$o->{prefix}/etc/rpm/macros"; + if (my ($agp) = modules::probe_category('other/agpgart')) { + modules::add_alias('agpgart', $agp); + } + #- add oem theme if the files exists. mkdir_p("$o->{prefix}/usr/share"); install_any::getAndSaveFile("Mandrake/base/oem-theme.rpm", "$o->{prefix}/usr/share/oem-theme.rpm"); |