From 48441642fd8d815bf706c0617cf3ae6b3ea144ae Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Fri, 9 Sep 2016 04:48:12 +0200 Subject: [PATCH] Remove localized Adobe Photoshop CC versions. (#2572) --- Casks/adobe-photoshop-cc-de.rb | 40 ---------------------------------- Casks/adobe-photoshop-cc-es.rb | 40 ---------------------------------- Casks/adobe-photoshop-cc-fr.rb | 40 ---------------------------------- Casks/adobe-photoshop-cc-it.rb | 40 ---------------------------------- Casks/adobe-photoshop-cc-ja.rb | 40 ---------------------------------- Casks/adobe-photoshop-cc-nl.rb | 40 ---------------------------------- 6 files changed, 240 deletions(-) delete mode 100644 Casks/adobe-photoshop-cc-de.rb delete mode 100644 Casks/adobe-photoshop-cc-es.rb delete mode 100644 Casks/adobe-photoshop-cc-fr.rb delete mode 100644 Casks/adobe-photoshop-cc-it.rb delete mode 100644 Casks/adobe-photoshop-cc-ja.rb delete mode 100644 Casks/adobe-photoshop-cc-nl.rb diff --git a/Casks/adobe-photoshop-cc-de.rb b/Casks/adobe-photoshop-cc-de.rb deleted file mode 100644 index 859dca496..000000000 --- a/Casks/adobe-photoshop-cc-de.rb +++ /dev/null @@ -1,40 +0,0 @@ -cask 'adobe-photoshop-cc-de' do - version :latest - sha256 :no_check - - url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - user_agent: :fake, - cookies: { 'MM_TRIALS' => '1234' } - name 'Adobe Photoshop CC 2015' - homepage 'https://www.adobe.com/products/photoshop.html' - license :commercial - - conflicts_with cask: 'adobe-photoshop-cc' - - preflight do - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/de_DE_Deployment.xml" - end - - uninstall_preflight do - uninstall_xml = "#{staged_path}/uninstall.xml" - - IO.write uninstall_xml, <<-EOF.undent - - - - 0 - {2614BC86-757D-4293-9E25-E4E16F370A9E} - - - - remove - - - - EOF - - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{uninstall_xml}" - end - - uninstall rmdir: '/Applications/Utilities/Adobe Installers' -end diff --git a/Casks/adobe-photoshop-cc-es.rb b/Casks/adobe-photoshop-cc-es.rb deleted file mode 100644 index 625580663..000000000 --- a/Casks/adobe-photoshop-cc-es.rb +++ /dev/null @@ -1,40 +0,0 @@ -cask 'adobe-photoshop-cc-es' do - version :latest - sha256 :no_check - - url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - user_agent: :fake, - cookies: { 'MM_TRIALS' => '1234' } - name 'Adobe Photoshop CC 2015' - homepage 'https://www.adobe.com/products/photoshop.html' - license :commercial - - conflicts_with cask: 'adobe-photoshop-cc' - - preflight do - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/es_ES_Deployment.xml" - end - - uninstall_preflight do - uninstall_xml = "#{staged_path}/uninstall.xml" - - IO.write uninstall_xml, <<-EOF.undent - - - - 0 - {2614BC86-757D-4293-9E25-E4E16F370A9E} - - - - remove - - - - EOF - - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{uninstall_xml}" - end - - uninstall rmdir: '/Applications/Utilities/Adobe Installers' -end diff --git a/Casks/adobe-photoshop-cc-fr.rb b/Casks/adobe-photoshop-cc-fr.rb deleted file mode 100644 index 3d583be7a..000000000 --- a/Casks/adobe-photoshop-cc-fr.rb +++ /dev/null @@ -1,40 +0,0 @@ -cask 'adobe-photoshop-cc-fr' do - version :latest - sha256 :no_check - - url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - user_agent: :fake, - cookies: { 'MM_TRIALS' => '1234' } - name 'Adobe Photoshop CC 2015' - homepage 'https://www.adobe.com/products/photoshop.html' - license :commercial - - conflicts_with cask: 'adobe-photoshop-cc' - - preflight do - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/fr_FR_Deployment.xml" - end - - uninstall_preflight do - uninstall_xml = "#{staged_path}/uninstall.xml" - - IO.write uninstall_xml, <<-EOF.undent - - - - 0 - {2614BC86-757D-4293-9E25-E4E16F370A9E} - - - - remove - - - - EOF - - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{uninstall_xml}" - end - - uninstall rmdir: '/Applications/Utilities/Adobe Installers' -end diff --git a/Casks/adobe-photoshop-cc-it.rb b/Casks/adobe-photoshop-cc-it.rb deleted file mode 100644 index 25e3d0c74..000000000 --- a/Casks/adobe-photoshop-cc-it.rb +++ /dev/null @@ -1,40 +0,0 @@ -cask 'adobe-photoshop-cc-it' do - version :latest - sha256 :no_check - - url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - user_agent: :fake, - cookies: { 'MM_TRIALS' => '1234' } - name 'Adobe Photoshop CC 2015' - homepage 'https://www.adobe.com/products/photoshop.html' - license :commercial - - conflicts_with cask: 'adobe-photoshop-cc' - - preflight do - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/it_IT_Deployment.xml" - end - - uninstall_preflight do - uninstall_xml = "#{staged_path}/uninstall.xml" - - IO.write uninstall_xml, <<-EOF.undent - - - - 0 - {2614BC86-757D-4293-9E25-E4E16F370A9E} - - - - remove - - - - EOF - - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{uninstall_xml}" - end - - uninstall rmdir: '/Applications/Utilities/Adobe Installers' -end diff --git a/Casks/adobe-photoshop-cc-ja.rb b/Casks/adobe-photoshop-cc-ja.rb deleted file mode 100644 index 657d0c704..000000000 --- a/Casks/adobe-photoshop-cc-ja.rb +++ /dev/null @@ -1,40 +0,0 @@ -cask 'adobe-photoshop-cc-ja' do - version :latest - sha256 :no_check - - url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - user_agent: :fake, - cookies: { 'MM_TRIALS' => '1234' } - name 'Adobe Photoshop CC 2015' - homepage 'https://www.adobe.com/products/photoshop.html' - license :commercial - - conflicts_with cask: 'adobe-photoshop-cc' - - preflight do - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/ja_JP_Deployment.xml" - end - - uninstall_preflight do - uninstall_xml = "#{staged_path}/uninstall.xml" - - IO.write uninstall_xml, <<-EOF.undent - - - - 0 - {2614BC86-757D-4293-9E25-E4E16F370A9E} - - - - remove - - - - EOF - - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{uninstall_xml}" - end - - uninstall rmdir: '/Applications/Utilities/Adobe Installers' -end diff --git a/Casks/adobe-photoshop-cc-nl.rb b/Casks/adobe-photoshop-cc-nl.rb deleted file mode 100644 index b6757e553..000000000 --- a/Casks/adobe-photoshop-cc-nl.rb +++ /dev/null @@ -1,40 +0,0 @@ -cask 'adobe-photoshop-cc-nl' do - version :latest - sha256 :no_check - - url 'http://trials3.adobe.com/AdobeProducts/PHSP/16/osx10/Photoshop_16_LS20.dmg', - user_agent: :fake, - cookies: { 'MM_TRIALS' => '1234' } - name 'Adobe Photoshop CC 2015' - homepage 'https://www.adobe.com/products/photoshop.html' - license :commercial - - conflicts_with cask: 'adobe-photoshop-cc' - - preflight do - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{staged_path}/Adobe\ Photoshop\ CC\ 2015/Deployment/nl_NL_Deployment.xml" - end - - uninstall_preflight do - uninstall_xml = "#{staged_path}/uninstall.xml" - - IO.write uninstall_xml, <<-EOF.undent - - - - 0 - {2614BC86-757D-4293-9E25-E4E16F370A9E} - - - - remove - - - - EOF - - system '/usr/bin/sudo', '-E', '--', "#{staged_path}/Adobe Photoshop CC 2015/Install.app/Contents/MacOS/Install", '--mode=silent', "--deploymentFile=#{uninstall_xml}" - end - - uninstall rmdir: '/Applications/Utilities/Adobe Installers' -end