Posted on 04-16-2020 07:23 AM
Hello all! Im trying to figure out a script to track down the version of Adobe RUM on our Macs to determine if they need to be upgraded. I think the current version is 2.4.0.3. Any idea's? Since it's a Unix Executable its been problematic. Any help would be appreciated!
Posted on 04-16-2020 08:06 AM
I run an EA script below.
if [ -f /usr/local/bin/RemoteUpdateManager ]; then
chmod +x /usr/local/bin/RemoteUpdateManager
S_VERSION=$(/usr/local/bin/RemoteUpdateManager --help 2>&1 | awk ' NR==1{ print $5 } ')
EA_RESULT="${S_VERSION}"
elif [ -a /usr/sbin/RemoteUpdateManager ]; then
S_VERSION="Pre 2015.5 Release"
EA_RESULT="${S_VERSION}"
else
EA_RESULT="Not installed"
fi
echo "<result>${EA_RESULT}</result>"
08-11-2022 03:58 PM - edited 08-11-2022 04:00 PM
We're getting many results that one would expect with this script, but does anyone know why some of endpoints are returning the following?
/usr/local/bin/RemoteUpdateManager:
Screenshot example of the Jamf output:
Looking at the elif loop I can only imagine this must be an output from line 5 in the script?
#!/bin/bash
if [ -f /usr/local/bin/RemoteUpdateManager ]; then
chmod +x /usr/local/bin/RemoteUpdateManager
S_VERSION=$(/usr/local/bin/RemoteUpdateManager --help 2>&1 | awk ' NR==1{ print $5 } ')
EA_RESULT="${S_VERSION}"
elif [ -a /usr/sbin/RemoteUpdateManager ]; then
S_VERSION="Pre 2015.5 Release"
EA_RESULT="${S_VERSION}"
else
EA_RESULT="Not installed"
fi
echo "<result>${EA_RESULT}</result>"