From d58b6fa0f5e2fe0a6af7d63c398685054d399139 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 9 Sep 2016 04:47:47 +0200 Subject: [PATCH] Remove localized Adobe Illustrator CC versions. (#2572) --- Casks/adobe-illustrator-cc-de.rb | 27 --------------------------- Casks/adobe-illustrator-cc-es.rb | 27 --------------------------- Casks/adobe-illustrator-cc-fr.rb | 27 --------------------------- Casks/adobe-illustrator-cc-it.rb | 27 --------------------------- Casks/adobe-illustrator-cc-ja.rb | 27 --------------------------- Casks/adobe-illustrator-cc-nl.rb | 27 --------------------------- 6 files changed, 162 deletions(-) delete mode 100644 Casks/adobe-illustrator-cc-de.rb delete mode 100644 Casks/adobe-illustrator-cc-es.rb delete mode 100644 Casks/adobe-illustrator-cc-fr.rb delete mode 100644 Casks/adobe-illustrator-cc-it.rb delete mode 100644 Casks/adobe-illustrator-cc-ja.rb delete mode 100644 Casks/adobe-illustrator-cc-nl.rb diff --git a/Casks/adobe-illustrator-cc-de.rb b/Casks/adobe-illustrator-cc-de.rb deleted file mode 100644 index 9ecca0999..000000000 --- a/Casks/adobe-illustrator-cc-de.rb +++ /dev/null @@ -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 diff --git a/Casks/adobe-illustrator-cc-es.rb b/Casks/adobe-illustrator-cc-es.rb deleted file mode 100644 index 374a021b6..000000000 --- a/Casks/adobe-illustrator-cc-es.rb +++ /dev/null @@ -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 diff --git a/Casks/adobe-illustrator-cc-fr.rb b/Casks/adobe-illustrator-cc-fr.rb deleted file mode 100644 index 9aaaea10d..000000000 --- a/Casks/adobe-illustrator-cc-fr.rb +++ /dev/null @@ -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 diff --git a/Casks/adobe-illustrator-cc-it.rb b/Casks/adobe-illustrator-cc-it.rb deleted file mode 100644 index a177b0c48..000000000 --- a/Casks/adobe-illustrator-cc-it.rb +++ /dev/null @@ -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 diff --git a/Casks/adobe-illustrator-cc-ja.rb b/Casks/adobe-illustrator-cc-ja.rb deleted file mode 100644 index 8c5519af9..000000000 --- a/Casks/adobe-illustrator-cc-ja.rb +++ /dev/null @@ -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 diff --git a/Casks/adobe-illustrator-cc-nl.rb b/Casks/adobe-illustrator-cc-nl.rb deleted file mode 100644 index 284cc3949..000000000 --- a/Casks/adobe-illustrator-cc-nl.rb +++ /dev/null @@ -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