summaryrefslogtreecommitdiffstats
path: root/perl-install/live_install2
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-04-12 16:22:10 +0000
committerFrancois Pons <fpons@mandriva.com>2001-04-12 16:22:10 +0000
commitb4d42c4dbdac1df8f665aa089e580c653e220283 (patch)
tree0921a02e7fee9f9f3802aa80c896c123a2f12980 /perl-install/live_install2
parent4cfcceee4332b0b4520e67c7c5cab7b071d3e0bc (diff)
downloaddrakx-b4d42c4dbdac1df8f665aa089e580c653e220283.tar
drakx-b4d42c4dbdac1df8f665aa089e580c653e220283.tar.gz
drakx-b4d42c4dbdac1df8f665aa089e580c653e220283.tar.bz2
drakx-b4d42c4dbdac1df8f665aa089e580c653e220283.tar.xz
drakx-b4d42c4dbdac1df8f665aa089e580c653e220283.zip
added some gtk and gdk_imlib missing variables.
Diffstat (limited to 'perl-install/live_install2')
-rwxr-xr-xperl-install/live_install22
1 files changed, 2 insertions, 0 deletions
diff --git a/perl-install/live_install2 b/perl-install/live_install2
index 6e4486e48..5fee58147 100755
--- a/perl-install/live_install2
+++ b/perl-install/live_install2
@@ -14,7 +14,9 @@ $ENV{LD_LIBRARY_PATH} = "$dir/usr/bin:$dir/bin:$dir/sbin:$dir/usr/sbin:$dir/usr/
$ENV{PATH} = join(":", map { "$dir/$_" } split ":", "/usr/bin:/bin:/sbin:/usr/sbin:/usr/X11R6/bin") . ":$ENV{PATH}";
$ENV{SHARE_PATH} = "$dir/usr/share";
$ENV{RPMRC_FILE} = "$dir/usr/lib/rpm/rpmrc";
+$ENV{GTK_DATA_PREFIX} = "$dir/usr";
$ENV{GTK_EXE_PREFIX} = "$dir/usr";
+$ENV{GDK_IMLIB_PATH} = "$dir/usr/lib";
system $ENV{LD_LOADER}, "../perl", "-i", "-pe", "s,^(.*macrofiles[^/]*)(.*),\$1$dir/usr/lib/rpm/macros:\$2,", $ENV{RPMRC_FILE};
system $ENV{LD_LOADER}, "../perl", "./install2", "--live", @ARGV;