From 18a5572ee8e3850f1d1f928d43d2e1799594dbd9 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Mon, 12 Mar 2001 15:18:34 +0000 Subject: fixed live update between GLIBC 2.1 and GLIBC 2.2. should work for other combination but not tested. fixed locale usage and gtk environment interaction (added LOCPATH, GCONV_PATH and GTK_EXE_PREFIX). created LD_LOADER environment variable to keep track of right ELF loader to be used for the GLIBC used by the live update. added internal PATH to LD_LIBRARY_PATH as ELF loader only check this one and not PATH. --- perl-install/pkgs.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/pkgs.pm') diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index ba6fa0d48..c345b5f17 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -1066,7 +1066,7 @@ sub selectPackagesToUpgrade($$$;$$) { close OUTPUT; open STDIN, "<&INPUT_CHILD"; open STDOUT, ">&OUTPUT_CHILD"; - exec "parsehdlist", "--interactive", map { "/tmp/$_->{hdlist}" } values %{$packages->{mediums}} + exec if_($ENV{LD_LOADER}, $ENV{LD_LOADER}), "parsehdlist", "--interactive", map { "/tmp/$_->{hdlist}" } values %{$packages->{mediums}} or c::_exit(1); } -- cgit v1.2.1