Action 1 (default)
Action Link Click
here to deploy the Tivoli Endpoint Manager Client 8.2.1322.0 upgrade.
Script Type
BigFix Action Script
if {system version >= "10.6"}
delete "/tmp/BESAgent.pkg"
else
wait rm -rf "/tmp/BESAgent.pkg"
endif
continue if {10635634 < free space of drive of folder "/tmp"}
if {system version >= "10.6"}
prefetch BESAgent.pkg sha1:5afb425b5872c05c63a81fa8089aa9bdd0eebc47 size:7622409 http://software.bigfix.com/download/bes/82/BESAgent-8.2.1322.0-BigFix_MacOSX10.6.pkg
move __Download/BESAgent.pkg /tmp/BESAgent.pkg
continue if {exists file "/tmp/BESAgent.pkg"}
elseif {system version >= "10.4"}
prefetch BESAgentUpgrade.dmg sha1:0fd7c36e178d0537d4682f42945c80310329ea81 size:10635634 http://software.bigfix.com/download/bes/82/BESAgent-8.2.1322.0-BigFix_MacOSX10.4Upgrade.dmg
continue if {exists file "__Download/BESAgentUpgrade.dmg"}
delete "/tmp/BESAgentUpgrade.dmg"
move __Download/BESAgentUpgrade.dmg /tmp/BESAgentUpgrade.dmg
wait hdiutil attach -quiet -private -mountpoint "/tmp/bfclientmnt" /tmp/BESAgentUpgrade.dmg
wait cp -r "/tmp/bfclientmnt/BESAgent-8.2.1322.0-BigFix_MacOSX10.4.pkg" "/tmp/BESAgent.pkg"
wait /bin/sh -c "hdiutil detach -force `mount | grep /tmp/bfclientmnt | cut -f 1 -d \ | cut -f 3 -d / | head -1`"
delete "/tmp/BESAgentUpgrade.dmg"
continue if {exists folder "/tmp/BESAgent.pkg"}
else
continue if false
endif
wait /bin/sh -c "trap '' 15; installer -pkg /tmp/BESAgent.pkg -target /"
continue if {exit code of action = 0}
Success Criteria
This action will be considered successful when the following relevance clause evaluates to false:
version of client < "8.2.1322.0"
version of client < "8.2.1322.0"