mirror of
https://github.com/mtan93/Installomator.git
synced 2026-03-08 05:31:53 +00:00
added adobereaderdc
This commit is contained in:
@@ -554,7 +554,13 @@ case $label in
|
|||||||
downloadURL=$(downloadURLFromGit jamf ReEnroller)
|
downloadURL=$(downloadURLFromGit jamf ReEnroller)
|
||||||
expectedTeamID="PS2F6S478M"
|
expectedTeamID="PS2F6S478M"
|
||||||
;;
|
;;
|
||||||
|
adobereaderdc)
|
||||||
|
name="Adobe Acrobat Reader DC"
|
||||||
|
type="pkgInDmg"
|
||||||
|
downloadURL=$(adobecurrent=`curl -s https://armmf.adobe.com/arm-manifests/mac/AcrobatDC/reader/current_version.txt | tr -d '.'` && echo http://ardownload.adobe.com/pub/adobe/reader/mac/AcrobatDC/"$adobecurrent"/AcroRdrDC_"$adobecurrent"_MUI.dmg)
|
||||||
|
expectedTeamID="JQ525L2MZD"
|
||||||
|
blockingProcesses=( "AdobeReader" )
|
||||||
|
;;
|
||||||
|
|
||||||
|
|
||||||
# Note: Packages is signed but _not_ notarized, so spctl will reject it
|
# Note: Packages is signed but _not_ notarized, so spctl will reject it
|
||||||
@@ -991,8 +997,8 @@ installPkgInDmg() {
|
|||||||
mountDMG
|
mountDMG
|
||||||
# locate pkg in dmg
|
# locate pkg in dmg
|
||||||
if [[ -z $pkgName ]]; then
|
if [[ -z $pkgName ]]; then
|
||||||
# find a file starting with $name and ending with 'pkg'
|
# find first file ending with 'pkg'
|
||||||
findfiles=$(find -X "$dmgmount" -iname "${name}*.pkg" -maxdepth 1 )
|
findfiles=$(find -X "$dmgmount" -iname "*.pkg" -maxdepth 1 )
|
||||||
filearray=( ${(0)findfiles} )
|
filearray=( ${(0)findfiles} )
|
||||||
if [[ ${#filearray} -eq 0 ]]; then
|
if [[ ${#filearray} -eq 0 ]]; then
|
||||||
cleanupAndExit 20 "couldn't find pkg in dmg $archiveName"
|
cleanupAndExit 20 "couldn't find pkg in dmg $archiveName"
|
||||||
@@ -1015,7 +1021,7 @@ installPkgInZip() {
|
|||||||
|
|
||||||
# locate pkg in zip
|
# locate pkg in zip
|
||||||
if [[ -z $pkgName ]]; then
|
if [[ -z $pkgName ]]; then
|
||||||
# find a file starting with $name and ending with 'pkg'
|
# find first file starting with $name and ending with 'pkg'
|
||||||
findfiles=$(find -X "$tmpDir" -iname "${name}*.pkg" -maxdepth 1 )
|
findfiles=$(find -X "$tmpDir" -iname "${name}*.pkg" -maxdepth 1 )
|
||||||
filearray=( ${(0)findfiles} )
|
filearray=( ${(0)findfiles} )
|
||||||
if [[ ${#filearray} -eq 0 ]]; then
|
if [[ ${#filearray} -eq 0 ]]; then
|
||||||
|
|||||||
@@ -1,4 +1,5 @@
|
|||||||
1password7
|
1password7
|
||||||
|
adobereaderdc
|
||||||
appclener
|
appclener
|
||||||
atom
|
atom
|
||||||
autodmg
|
autodmg
|
||||||
|
|||||||
Reference in New Issue
Block a user