We are using Dockutil along with this script to place an smb file share icon in the Dock. This is working just fine
/usr/local/bin/dockutil --add smb://fs1.vcs.local/File Shares --label "File Shares" --position end
What I want to do is check whether this item is in the Dock or not before running this command. Is there an Extension Attribute (along with a Smartgroup) to check if an item is already in the Dock?
