Skip to main content
Question

Skype autoinstall newest version for appinstall and patchmanagement.

  • June 12, 2019
  • 0 replies
  • 4 views

Forum|alt.badge.img+3

So the version we found on jamfnation (https://www.jamf.com/jamf-nation/third-party-products/files/1020/install-latest-skype-for-mac) did not work because it was detecting the OS through the url and curl does not supply any operatingsystem information prompting a windows installer to a mac client resulting in failure. It seems to work correctly.

#!/bin/bash

mkdir /tmp/downloads
cd /tmp/downloads

curl -L -o skype.dmg https://go.skype.com/getskype-skypeformac

hdiutil mount -nobrowse skype.dmg -mountpoint /Volumes/skype
rsync -vaz /Volumes/skype/Skype.app/ /Applications/Skype.app
hdiutil unmount "/Volumes/skype"
rm skype.dmg
rm -rf /tmp/downloads