mm2270 / JamfProScripts

A collection of shell scripts created for use in Jamf Pro and elsewhere
MIT License
174 stars 30 forks source link

Update download_jss_scripts.sh #11

Closed rtrouton closed 7 years ago

rtrouton commented 7 years ago

Added -H "Accept: application/xml" for Jamf Pro 9.98 compatibility to download_jss_scripts.sh, as XML output is no longer the default.

mm2270 commented 7 years ago

@rtrouton Thanks Rich! I'm surprised I never had the header flag in there for the curl commands. I must have written this prior to it becoming a requirement.

I'm merging your change so it will continue to work for others.

rtrouton commented 7 years ago

I just noticed I made a mistake in line 154, where there is not a space between ${apiPass}" and -H and there should be. Sorry about that.