Author: mmadia Date: 2010-06-26 19:35:16 +0200 (Sat, 26 Jun 2010) New Revision: 37264 Changeset: http://dev.haiku-os.org/changeset/37264/haiku Modified: haiku/trunk/data/bin/installoptionalpackage Log: Fixed the script. Modified: haiku/trunk/data/bin/installoptionalpackage =================================================================== --- haiku/trunk/data/bin/installoptionalpackage 2010-06-26 17:24:11 UTC (rev 37263) +++ haiku/trunk/data/bin/installoptionalpackage 2010-06-26 17:35:16 UTC (rev 37264) @@ -572,7 +572,7 @@ # 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 @@ echo 'Not proceeding with installation.' return 1 fi - exit echo "To be installed: ${packagesToInstall}" return 0 }