Fixed the script.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37264 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matt Madia 2010-06-26 17:35:16 +00:00
parent e5dca54f1a
commit 5317b5f385
1 changed files with 1 additions and 2 deletions

View File

@ -572,7 +572,7 @@ function BuildFinalListOfPackagesToInstall()
# strip double spaces
packagesToInstall=${packagesToInstall/" "/" "}
if ! [ ${#string} -gt 1 ]; then
if ! [ ${#packagesToInstall} -gt 1 ]; then
echo "... no packages need to be installed."
echo "If you wish to re-install a package, edit $installedPackagesFile"
proceedWithInstallation=false
@ -581,7 +581,6 @@ function BuildFinalListOfPackagesToInstall()
echo 'Not proceeding with installation.'
return 1
fi
exit
echo "To be installed: ${packagesToInstall}"
return 0
}