From 58681e096fbd65853507002f934c6fce8456f614 Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Fri, 24 Aug 2001 14:21:18 +0000 Subject: fixed hdInstallPath for an hd installation without usingRamdisk (not installing urpmi in such case). --- perl-install/install_any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install_any.pm b/perl-install/install_any.pm index cd4758f39..c07f4a9ca 100644 --- a/perl-install/install_any.pm +++ b/perl-install/install_any.pm @@ -498,7 +498,7 @@ sub setupFB { sub hdInstallPath() { my $tail = first(readlink("/tmp/image") =~ m|^/tmp/hdimage/(.*)|); my $head = first(readlink("/tmp/hdimage") =~ m|$::o->{prefix}(.*)|); - $tail && "$head/$tail"; + $head && $tail && "$head/$tail"; } sub install_urpmi { -- cgit v1.2.1