v1.2.0 = Bug fix

Fixed logic issue causing all returns to be negative
This commit is contained in:
Zack T
2022-03-21 22:40:55 -07:00
parent 75c5f09cb4
commit 3a82eb1660

View File

@@ -3,7 +3,7 @@
###################################################################################################
# Script Name: jamf_ea_Rosetta2Installed.sh
# By: Zack Thompson / Created: 4/5/2021
# Version: 1.1.0 / Updated: 11/3/2021 / By: ZT
# Version: 1.2.0 / Updated: 3/21/2022 / By: ZT
#
# Description: A Jamf Extension Attribute to determine if Rosetta 2 is installed.
#
@@ -11,7 +11,7 @@
if [[ $( /usr/bin/arch ) == "arm64" ]]; then
if [[ $( /usr/bin/pgrep oahd > /dev/null 2>&1 ) ]]; then
if [[ $( /usr/bin/pgrep oahd ) ]]; then
echo "<result>Installed</result>"