v1.1 = Using the build script to edit the deployment scripts

+ Set the install directory based on the Major Version in install_SPSS.sh
 + Set the version that is being updated based on the Major Version in update_SPSS.sh
This commit is contained in:
Zack T
2018-01-08 13:29:29 -07:00
parent f70f14db57
commit ef55ec8185

View File

@@ -50,7 +50,7 @@ Actions:
function munkiBuild {
/usr/libexec/PlistBuddy -c "set identifier com.github.mlbz521.pkg.${softwareTitle}" "${scriptDirectory}"/build-info.plist
/usr/libexec/PlistBuddy -c "set name ${softwareTitle}-\${version}.pkg" "${scriptDirectory}"/build-info.plist
/usr/libexec/PlistBuddy -c "set name ${softwareTitle} Unlicensed-\${version}.pkg" "${scriptDirectory}"/build-info.plist
/usr/libexec/PlistBuddy -c "set version $switch3" "${scriptDirectory}"/build-info.plist
munkipkg "${scriptDirectory}" > /dev/null