Hi there everyone - I am attempting to streamline one of my scripts to install Centrify using path variables. I am able to run the commands by themselves but when I assign them as variables, failure city.
I will have a dmg file sitting in /private/var/Centrify5.5.1/CentrifyDC-5.5.1-x86_64.dmg that I would like to mount using hdiutil. Then I would install the contained pkg.
I'm attempting to make a variable, and I would assume that it is going to be
DMGPath="/private/var/Centrify5.5.1/CenrifyDC-5.5.1-x86_64.dmg" PKGPath="/Volumes/Centrify5.5.1/CentrifyDC-5.5.1.pkg"
I would like to have it be
mount DMG
hdiutil attach $DMGPath -nobrowse (don't need to see the mounted DMG)
Install Centrify pkg
installer -pkg $PKGPath
I keep getting hdiutil errors asking for an <image>
I would be grateful for any and all assistance.
