# check the correct version did actually get downloadedĮcho " Could not download installinstallmacos.py so cannot continue. bin/rm " $workdir/installinstallmacos.py " "Įlif ] thenĮcho " force-curl selected so installinstallmacos.py will be overwritten "Įlif ! echo " $installinstallmacos_checksum $workdir/installinstallmacos.py " | shasum -c >/dev/null thenĮcho " checksum for installinstallmacos.py does not match. "Įcho " -no-curl option selected so cannot download installinstallmacos.py. # Not called if -no-curl parameter is used.Įcho " installinstallmacos.py not found. # Check that the grahampugh fork of installinsatallmacos.py if not present or Working_installer_pkg= " $cached_installer_pkg " If ] thenĮcho " Installer: $installer_pkg_build = System: $system_build : valid build. # compare the local system's build number with that of InstallAssistant.pkgĬompare_build_versions " $system_build " " $installer_pkg_build " System_build= $( /usr/bin/sw_vers -buildVersion ) Installer_pkg_build= $( basename " $cached_installer_pkg " | sed 's|.pkg|| ' | cut -d '- ' -f 3 ) # filename instead, as installinstallmacos.py already did the check.Įcho " Checking validity of $cached_installer_pkg. # must be unpackaged to read the PackageInfo file, so we just grab it from the # Extracting an actual version from the package is slow as the entire package # packages generated by installinstallmacos.py have the format # Check the validity of InstallAssistant.pkg. Working_macos_app= " $cached_installer_app " "Įcho " Build of existing installer could not be found, so it is assumed to be invalid. # this is due to the dynamic variable assignments used in the localization strings # this is to use sed in the case statements
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |