Skip to content

Commit

Permalink
Add localized Adobe CC applications.
Browse files Browse the repository at this point in the history
  • Loading branch information
reitermarkus committed Oct 21, 2015
1 parent 1e85577 commit fa8b354
Show file tree
Hide file tree
Showing 18 changed files with 612 additions and 0 deletions.
31 changes: 31 additions & 0 deletions Casks/adobe-illustrator-cc-de.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-illustrator-cc-de' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe Illustrator CC 2015'
homepage 'https://www.adobe.com/products/illustrator.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>de_DE<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-illustrator-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-illustrator-cc-es.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-illustrator-cc-es' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe Illustrator CC 2015'
homepage 'https://www.adobe.com/products/illustrator.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>es_ES<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-illustrator-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-illustrator-cc-fr.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-illustrator-cc-fr' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe Illustrator CC 2015'
homepage 'https://www.adobe.com/products/illustrator.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>fr_FR<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-illustrator-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-illustrator-cc-it.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-illustrator-cc-it' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe Illustrator CC 2015'
homepage 'https://www.adobe.com/products/illustrator.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>it_IT<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-illustrator-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-illustrator-cc-ja.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-illustrator-cc-ja' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe Illustrator CC 2015'
homepage 'https://www.adobe.com/products/illustrator.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>ja_JP<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-illustrator-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-illustrator-cc-nl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-illustrator-cc-nl' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/ILST/19/osx10-64/Illustrator_19_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe Illustrator CC 2015'
homepage 'https://www.adobe.com/products/illustrator.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>nl_NL<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Illustrator CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Illustrator\ CC\ 2015/Deployment/uninstall.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-illustrator-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-indesign-cc-de.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-indesign-cc-de' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe InDesign CC 2015'
homepage 'https://www.adobe.com/products/indesign.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>de_DE<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-indesign-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-indesign-cc-es.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-indesign-cc-es' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe InDesign CC 2015'
homepage 'https://www.adobe.com/products/indesign.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>es_ES<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-indesign-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-indesign-cc-fr.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-indesign-cc-fr' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe InDesign CC 2015'
homepage 'https://www.adobe.com/products/indesign.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>fr_FR<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-indesign-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-indesign-cc-it.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-indesign-cc-it' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe InDesign CC 2015'
homepage 'https://www.adobe.com/products/indesign.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>it_IT<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-indesign-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-indesign-cc-ja.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-indesign-cc-ja' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe InDesign CC 2015'
homepage 'https://www.adobe.com/products/indesign.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>ja_JP<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-indesign-cc'
end
31 changes: 31 additions & 0 deletions Casks/adobe-indesign-cc-nl.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
cask :v1 => 'adobe-indesign-cc-nl' do
version :latest
sha256 :no_check

url 'http://trials3.adobe.com/AdobeProducts/IDSN/11/osx10/InDesign_11_LS20.dmg',
:user_agent => :fake,
:cookies => { 'MM_TRIALS' => '1234' }
name 'Adobe InDesign CC 2015'
homepage 'https://www.adobe.com/products/indesign.html'
license :commercial
tags :vendor => 'Adobe'

preflight do
deployment_xml = "#{staged_path}/Adobe InDesign CC 2015/deploy/install.xml"

File.open(deployment_xml) do |xml_before|
contents = xml_before.read.gsub!('>en_US<', '>nl_NL<')
File.open(deployment_xml, 'w+') { |xml_after| xml_after.write(contents) }
end

system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{deployment_xml}"
end

uninstall_preflight do
system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe InDesign CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ InDesign\ CC\ 2015/deploy/remove.xml"
end

uninstall :rmdir => '/Applications/Utilities/Adobe Installers'

conflicts_with :cask => 'adobe-indesign-cc'
end
Loading

0 comments on commit fa8b354

Please sign in to comment.