Skip to main content
Question

installPKGfromDMG script leaving shadow files behind

  • July 1, 2013
  • 1 reply
  • 6 views

Forum|alt.badge.img+10

I ran into an issue with Adobe Photoshop CS6 installer and had to use the installPKGfromDMG.sh script to install, that solved one problem, but created another.

After the install was finished, there was still a $dmgName.dmg.shadow and a $dmgName.dmg.cache.xml. I went back and modified the installPKGfromDMG.sh to get rid of all instances of the $dmgName, thought I would share here if someone else sees this or has problems with it.

# Delete the DMG
/bin/rm /Library/Application Support/JAMF/Waiting Room/$dmgName*

Chris

1 reply

Forum|alt.badge.img+13
  • Contributor
  • August 9, 2013

Thanks Chris.

@jake
Can you please update the original script to reflect this important change;
https://jamfnation.jamfsoftware.com/viewProductFile.html?id=3&fid=547