Fail when the OpenSSH optional package is enabled and

HAIKU_IMAGE_HOST_NAME is not set.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@28227 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold 2008-10-18 09:36:14 +00:00
parent 2dd847b6ff
commit 9aabc02b4c

View File

@ -104,7 +104,7 @@ if [ IsOptionalHaikuImagePackageAdded BeHappy ] {
} else {
InstallOptionalHaikuImagePackage BeHappy
: http://revolf.free.fr/beos/behappy-bone.zip
:
:
;
AddSymlinkToHaikuImage home config be Applications
: /boot/apps/BeHappy/BeHappy ;
@ -335,6 +335,11 @@ if [ IsOptionalHaikuImagePackageAdded OpenSSH ] {
} else if $(HAIKU_GCC_VERSION[1]) >= 4 && $(isHybridBuild) = 0 {
Echo "No optional package OpenSSH available for gcc4" ;
} else {
if ! $(HAIKU_IMAGE_HOST_NAME) {
Exit "Optional package OpenSSH requires the HAIKU_IMAGE_HOST_NAME"
"variable to be set!" ;
}
local baseURL = http://haiku-files.org/files/optional-packages ;
InstallOptionalHaikuImagePackage openssh-5.0p1-gcc2-2008-05-04-1
: $(baseURL)/openssh-5.0p1-gcc2-2008-05-04-1.zip