I am beginner in scripting, but managed to find the following and it is working
#!/bin/bash
if [ -d /Library/Updates/041-31306 ]; then
echo "<result>TRUE</result>"
else
echo "<result>FALSE</result>"
exit
Is there a way to build in another path into the same EA - So both Library1 and library 2 must exist (TRUE/FALSE) - or must I create 2 seperate EA for each?