mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
Fixed pkg teamID calculation
This commit is contained in:
@@ -61,9 +61,9 @@ versionFromGit() {
|
|||||||
|
|
||||||
pkgInvestigation() {
|
pkgInvestigation() {
|
||||||
echo "Package investigation."
|
echo "Package investigation."
|
||||||
teamID=$(spctl -a -vv -t install "$archiveName" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' )
|
teamID=$(spctl -a -vv -t install "$pkgPath" 2>&1 | awk '/origin=/ {print $NF }' | tr -d '()' )
|
||||||
if [[ -z $teamID ]]; then
|
if [[ -z $teamID ]]; then
|
||||||
echo "Error verifying PKG: $archiveName"
|
echo "Error verifying PKG: $pkgPath"
|
||||||
echo "No TeamID found."
|
echo "No TeamID found."
|
||||||
exit 4
|
exit 4
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user