<commit_before>#
# Cookbook Name:: adobe_indesign_cs6
# Recipe:: mac
#
# Copyright 2013, Wesleyan University
#
# All rights reserved - Do Not Redistribute
#
# Install base package
dmg_package "Adobe InDesign CS6" do
  app "adobe_indesign_cs6_Install"
  volumes_dir "adobe_indesign_cs6"
  dmg_name "adobe_indesign_cs6-8.0.1"
  source "http://ims-chef.wesleyan.edu/os_x/adobe_indesign_cs6/adobe_indesign_cs6-8.0.1.dmg"
  checksum "a470e9390599672332da3a9f82b3f091839963e6ed540f8a6dfbc00aef1a60b4"
  action :install
  type "pkg"
  package_id "com.adobe.Enterprise.install.CD42F8C2-93BE-4C32-9064-C04F00977A73"
end

#Install Digital Publishing tools update 
dmg_package "Adobe Digital Publishing Tools Update" do
 dmg_name "AdobeDigitalPublishingPatch-CS6-26.0.0"
 source "http://ims-chef.wesleyan.edu/os_x/adobe_indesign_cs6/AdobeDigitalPublishingPatch-CS6-26.0.0.dmg"
 checksum "6a28f66c0e9aa6047e82c8d3297d2e145962af93a4c5c74f8c371554517a4de1"
 action :install
 type "adobe"
 package_id "com.adobe.Enterprise.update.DPSTools"
 version "26.0.0"
end

# Download icon
cookbook_file "/tmp/adobe.png"

# Create dock folder, if it does not exist
dock_add "Adobe Creative Suite 6" do
  all_users true
  action :folder_create
  show_as "list"
  display_as "folder"
  arrangement "name"
  icon "/tmp/adobe.png"
end

# Add icon to dock
dock_add "/Applications/Adobe InDesign CS6/Adobe InDesign CS6.app" do
  all_users true
  group "Adobe Creative Suite 6"
#  restart true
end
<commit_msg>adobe updater now using custom action<commit_after>#
# Cookbook Name:: adobe_indesign_cs6
# Recipe:: mac
#
# Copyright 2013, Wesleyan University
#
# All rights reserved - Do Not Redistribute
#
# Install base package
dmg_package "Adobe InDesign CS6" do
  app "adobe_indesign_cs6_Install"
  volumes_dir "adobe_indesign_cs6"
  dmg_name "adobe_indesign_cs6-8.0.1"
  source "http://ims-chef.wesleyan.edu/os_x/adobe_indesign_cs6/adobe_indesign_cs6-8.0.1.dmg"
  checksum "a470e9390599672332da3a9f82b3f091839963e6ed540f8a6dfbc00aef1a60b4"
  action :install
  type "pkg"
  package_id "com.adobe.Enterprise.install.CD42F8C2-93BE-4C32-9064-C04F00977A73"
end

#Install Digital Publishing tools update 
dmg_package "Adobe Digital Publishing Tools Update" do
 command "AdobePatchInstaller –-mode=silent"
 app "AdobeDigitalPublishingCS6-AutoUpdate/AdobePatchInstaller.app/Contents/MacOS"
 volumes_dir "AdobeDigitalPublishingCS6-AutoUpdate"
 dmg_name "AdobeDigitalPublishingPatch-CS6-26.0.0"
 source "http://ims-chef.wesleyan.edu/os_x/adobe_indesign_cs6/AdobeDigitalPublishingPatch-CS6-26.0.0.dmg"
 checksum "6a28f66c0e9aa6047e82c8d3297d2e145962af93a4c5c74f8c371554517a4de1"
 action :install
 type "custom"
 package_id "com.adobe.Enterprise.update.DPSTools"
 version "26.0.0"
end

# Download icon
cookbook_file "/tmp/adobe.png"

# Create dock folder, if it does not exist
dock_add "Adobe Creative Suite 6" do
  all_users true
  action :folder_create
  show_as "list"
  display_as "folder"
  arrangement "name"
  icon "/tmp/adobe.png"
end

# Add icon to dock
dock_add "/Applications/Adobe InDesign CS6/Adobe InDesign CS6.app" do
  all_users true
  group "Adobe Creative Suite 6"
#  restart true
end

{'fraction_non_alphanumeric': 0.08768597657486546, 'fraction_numerical': 0.09116809116809117, 'mean_word_length': 5.40973630831643, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5440233', 'n_tokens_mistral': 1411, 'n_tokens_neox': 1290, 'n_words': 252}