v3.2.0 = Added v15 Support

+ Added v15 Support
This commit is contained in:
Zack T
2020-11-23 16:39:54 -07:00
parent 638e14ff9c
commit 4e69abdf03

View File

@@ -3,7 +3,7 @@
###################################################################################################
# Script Name: license_JMP.sh
# By: Zack Thompson / Created: 3/3/2017
# Version: 3.1.0 / Updated: 10/19/2020 / By: ZT
# Version: 3.2.0 / Updated: 11/10/2020 / By: ZT
#
# Description: This script applies the license for JMP applications.
#
@@ -102,6 +102,36 @@ Expires=
Administrator=
Organization=
Password1=
Department="
;;
*"JMP 15.app"* )
licenseContents="Platform=Macintosh
Product=JMP
Release=15.0.x
LType=SiteLicense
EMode=Full
SiteID=
MaxNUsers=
Starts=
Expires=
Administrator=
Organization=
Password1=
Department="
;;
*"JMP Pro 15.app"* )
licenseContents="Platform=Macintosh
Product=JMPPRO
Release=15.0.x
LType=SiteLicense
EMode=Full
SiteID=
MaxNUsers=
Starts=
Expires=
Administrator=
Organization=
Password1=
Department="
;;
* )
@@ -122,7 +152,7 @@ if [[ -z "${appPaths}" ]]; then
exit 3
else
# If the machine has multiple JMP Applications, loop through them...
while IFS="\n" read -r appPath; do
while IFS=$'\n' read -r appPath; do
# Get the App Bundle name
appName=$(echo "${appPath}" | /usr/bin/awk -F "/" '{print $NF}')