Browse Source

Remove localized Adobe Illustrator CC versions. (#2572)

master
Markus Reiter 8 years ago
parent
commit
d58b6fa0f5
  1. 27
      Casks/adobe-illustrator-cc-de.rb
  2. 27
      Casks/adobe-illustrator-cc-es.rb
  3. 27
      Casks/adobe-illustrator-cc-fr.rb
  4. 27
      Casks/adobe-illustrator-cc-it.rb
  5. 27
      Casks/adobe-illustrator-cc-ja.rb
  6. 27
      Casks/adobe-illustrator-cc-nl.rb

27
Casks/adobe-illustrator-cc-de.rb

@ -1,27 +0,0 @@
cask '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
conflicts_with cask: 'adobe-illustrator-cc'
preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"
IO.write(deployment_xml, IO.read(deployment_xml).gsub('>en_US<', '>de_DE<'))
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'
end

27
Casks/adobe-illustrator-cc-es.rb

@ -1,27 +0,0 @@
cask '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
conflicts_with cask: 'adobe-illustrator-cc'
preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"
IO.write(deployment_xml, IO.read(deployment_xml).gsub('>en_US<', '>es_ES<'))
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'
end

27
Casks/adobe-illustrator-cc-fr.rb

@ -1,27 +0,0 @@
cask '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
conflicts_with cask: 'adobe-illustrator-cc'
preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"
IO.write(deployment_xml, IO.read(deployment_xml).gsub('>en_US<', '>fr_FR<'))
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'
end

27
Casks/adobe-illustrator-cc-it.rb

@ -1,27 +0,0 @@
cask '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
conflicts_with cask: 'adobe-illustrator-cc'
preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"
IO.write(deployment_xml, IO.read(deployment_xml).gsub('>en_US<', '>it_IT<'))
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'
end

27
Casks/adobe-illustrator-cc-ja.rb

@ -1,27 +0,0 @@
cask '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
conflicts_with cask: 'adobe-illustrator-cc'
preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"
IO.write(deployment_xml, IO.read(deployment_xml).gsub('>en_US<', '>ja_JP<'))
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'
end

27
Casks/adobe-illustrator-cc-nl.rb

@ -1,27 +0,0 @@
cask '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
conflicts_with cask: 'adobe-illustrator-cc'
preflight do
deployment_xml = "#{staged_path}/Adobe Illustrator CC 2015/Deployment/deployment.xml"
IO.write(deployment_xml, IO.read(deployment_xml).gsub('>en_US<', '>nl_NL<'))
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'
end
Loading…
Cancel
Save