fix: Erlang16 previous install check

This commit is contained in:
Iristyle
2013-07-19 03:51:12 -04:00
parent 8e5b1d73cd
commit 6aad660cc3

View File

@@ -11,7 +11,7 @@ try {
Select -First 1
# only way to test for installation of this version is by path on disk
if (Test-Path $installedPath)
if ($installedPath -and (Test-Path $installedPath))
{
Write-Host "$package $version is already installed to $installedPath"
}