summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-09-29 05:28:56 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-09-29 05:28:56 +0000
commite36accfd848a1e98cb07eb599611e3e36f28de6a (patch)
treefa5dd9574573ed16609115abdcf449b27e3b770e
parentdf40e0fd143380b4c895d776673239fa928be1c9 (diff)
downloaddrakx-e36accfd848a1e98cb07eb599611e3e36f28de6a.tar
drakx-e36accfd848a1e98cb07eb599611e3e36f28de6a.tar.gz
drakx-e36accfd848a1e98cb07eb599611e3e36f28de6a.tar.bz2
drakx-e36accfd848a1e98cb07eb599611e3e36f28de6a.tar.xz
drakx-e36accfd848a1e98cb07eb599611e3e36f28de6a.zip
ensure gdk loaders, gtk immodules and pango modules lists are correct
-rw-r--r--perl-install/install_steps.pm7
1 files changed, 7 insertions, 0 deletions
diff --git a/perl-install/install_steps.pm b/perl-install/install_steps.pm
index 689030b48..acf354c3b 100644
--- a/perl-install/install_steps.pm
+++ b/perl-install/install_steps.pm
@@ -459,6 +459,13 @@ sub installPackages($$) { #- complete REWORK, TODO and TOCHECK!
any::writeandclean_ldsoconf($o->{prefix});
delete $ENV{DURING_INSTALL};
run_program::rooted_or_die($o->{prefix}, 'ldconfig');
+
+ eval {
+ run_program::rooted($o->{prefix}, 'gdk-pixbuf-query-loaders', '>', '/etc/gtk-2.0/gdk-pixbuf.loaders.' . (arch() =~ /64/ ? 'lib64' : 'lib'));
+ run_program::rooted($o->{prefix}, 'gtk-query-immodules-2.0', '>', '/etc/gtk-2.0/gtk.immodules.' . (arch() =~ /64/ ? 'lib64' : 'lib'));
+ run_program::rooted($o->{prefix}, 'pango-querymodules-' . (arch() =~ /64/ ? '64' : '32'), '>', '/etc/pango/' . (arch() =~ /i.86/ ? 'i386' : arch()) . '/pango.modules');
+ };
+
log::l("Install took: ", formatTimeRaw(time() - $time));
install_any::log_sizes($o);
scalar(@toInstall); #- return number of packages installed.