mocha-software and buildLabel.sh

Improved buildLabel.sh to handle another set of headers when trying to download, and that can handle the mocha-software.

But mocha-software has been disabled, as Installomator does not offer the headers when that is trying to download.
This commit is contained in:
Søren Theilgaard
2022-01-07 20:41:35 +01:00
parent c3ddd4f8c7
commit d80c76a4d3
8 changed files with 43 additions and 1 deletions

View File

@@ -99,10 +99,17 @@ dmgInvestigation() {
if [[ $appPath != "" ]]; then
echo "App found: $appPath"
if [[ $archiveExt = "dmgInZip" ]]; then
archiveExt="appInDmgInZip"
fi
appInvestigation
elif [[ $pkgPath != "" ]]; then
echo "PKG found: $pkgPath"
archiveExt="pkgInDmg"
if [[ $archiveExt = "dmgInZip" ]]; then
archiveExt="pkgInDmgInZip not supported, yet!"
else
archiveExt="pkgInDmg"
fi
pkgInvestigation
else
echo "Nothing found on DMG."