Fixed the script.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37264 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -572,7 +572,7 @@ function BuildFinalListOfPackagesToInstall()
|
|||||||
# strip double spaces
|
# strip double spaces
|
||||||
packagesToInstall=${packagesToInstall/" "/" "}
|
packagesToInstall=${packagesToInstall/" "/" "}
|
||||||
|
|
||||||
if ! [ ${#string} -gt 1 ]; then
|
if ! [ ${#packagesToInstall} -gt 1 ]; then
|
||||||
echo "... no packages need to be installed."
|
echo "... no packages need to be installed."
|
||||||
echo "If you wish to re-install a package, edit $installedPackagesFile"
|
echo "If you wish to re-install a package, edit $installedPackagesFile"
|
||||||
proceedWithInstallation=false
|
proceedWithInstallation=false
|
||||||
@@ -581,7 +581,6 @@ function BuildFinalListOfPackagesToInstall()
|
|||||||
echo 'Not proceeding with installation.'
|
echo 'Not proceeding with installation.'
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
exit
|
|
||||||
echo "To be installed: ${packagesToInstall}"
|
echo "To be installed: ${packagesToInstall}"
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user