mirror of
https://github.com/MLBZ521/MacAdmin.git
synced 2026-02-03 14:03:26 +00:00
v1.2.0 = Bug fix
Fixed logic issue causing all returns to be negative
This commit is contained in:
@@ -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>"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user