diff --git a/Casks/adobe-reader-fr.rb b/Casks/adobe-reader-fr.rb index b19c150ad..2bee7443a 100644 --- a/Casks/adobe-reader-fr.rb +++ b/Casks/adobe-reader-fr.rb @@ -5,6 +5,6 @@ class AdobeReaderFr < Cask url 'http://ardownload.adobe.com/pub/adobe/reader/mac/11.x/11.0.00/fr_FR/AdbeRdr11000_fr_FR.dmg' homepage 'http://get.adobe.com/fr/reader/' - install 'Adobe Reader XI Installer.pkg' + pkg 'Adobe Reader XI Installer.pkg' uninstall :pkgutil => 'com.adobe.acrobat.reader.11000.*' end diff --git a/Casks/gcc481-linux64.rb b/Casks/gcc481-linux64.rb index 2bbb013cb..84266f27c 100644 --- a/Casks/gcc481-linux64.rb +++ b/Casks/gcc481-linux64.rb @@ -5,5 +5,5 @@ class Gcc481Linux64 < Cask url 'http://crossgcc.rts-software.org/download/gcc-4.8.1-for-linux32-linux64/gcc-4.8.1-for-linux64.dmg' homepage 'http://crossgcc.rts-software.org/doku.php?id=start' - install 'gcc-4.8.1-for-linux64.pkg' + pkg 'gcc-4.8.1-for-linux64.pkg' end diff --git a/Casks/google-japanese-ime-dev.rb b/Casks/google-japanese-ime-dev.rb index a28808f16..a10c62183 100644 --- a/Casks/google-japanese-ime-dev.rb +++ b/Casks/google-japanese-ime-dev.rb @@ -5,7 +5,7 @@ class GoogleJapaneseImeDev < Cask url 'https://dl.google.com/japanese-ime/dev/GoogleJapaneseInput.dmg' homepage 'https://www.google.co.jp/ime/' - install 'GoogleJapaneseInput.pkg' + pkg 'GoogleJapaneseInput.pkg' uninstall :pkgutil => 'com.google.pkg.GoogleJapaneseInput', :launchctl => [ 'com.google.inputmethod.Japanese.Converter', diff --git a/Casks/java6.rb b/Casks/java6.rb index c60d36470..b2c3334ab 100644 --- a/Casks/java6.rb +++ b/Casks/java6.rb @@ -5,6 +5,6 @@ class Java6 < Cask url 'http://support.apple.com/downloads/DL1572/en_US/JavaForOSX2014-001.dmg' homepage 'http://support.apple.com/kb/DL1572' - install 'JavaForOSX.pkg' + pkg 'JavaForOSX.pkg' uninstall :pkgutil => 'com.apple.pkg.JavaForMacOSX107' end diff --git a/Casks/java7.rb b/Casks/java7.rb index 7d342ee6f..8c7456759 100644 --- a/Casks/java7.rb +++ b/Casks/java7.rb @@ -8,7 +8,7 @@ class Java7 < Cask } homepage 'http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html' - install 'JDK 7 Update 67.pkg' + pkg 'JDK 7 Update 67.pkg' postflight do system '/usr/bin/sudo', '-E', '--', '/usr/libexec/PlistBuddy', '-c', 'Add :JavaVM:JVMCapabilities: string BundledApp', "/Library/Java/JavaVirtualMachines/jdk#{version}.jdk/Contents/Info.plist" diff --git a/Casks/keyremap4macbook-mountainlion.rb b/Casks/keyremap4macbook-mountainlion.rb index f48d041db..632b6e70b 100644 --- a/Casks/keyremap4macbook-mountainlion.rb +++ b/Casks/keyremap4macbook-mountainlion.rb @@ -5,5 +5,5 @@ class Keyremap4macbookMountainlion < Cask url 'https://pqrs.org/macosx/keyremap4macbook/files/KeyRemap4MacBook-8.4.0.dmg' homepage 'https://pqrs.org/macosx/keyremap4macbook/' - install 'KeyRemap4MacBook.pkg' + pkg 'KeyRemap4MacBook.pkg' end diff --git a/Casks/lightroom3.rb b/Casks/lightroom3.rb index 0dddd503a..591b93ab6 100644 --- a/Casks/lightroom3.rb +++ b/Casks/lightroom3.rb @@ -5,5 +5,5 @@ class Lightroom3 < Cask url 'http://download.adobe.com/pub/adobe/lightroom/mac/3.x/Lightroom_3_LS11_mac_3_3.dmg' homepage 'http://www.adobe.com/support/downloads/thankyou.jsp?ftpID=4927&fileID=4588' - install 'Adobe Lightroom 3.pkg' + pkg 'Adobe Lightroom 3.pkg' end diff --git a/Casks/mono-mdk327.rb b/Casks/mono-mdk327.rb index c0258bbbc..d4e502ace 100644 --- a/Casks/mono-mdk327.rb +++ b/Casks/mono-mdk327.rb @@ -5,6 +5,6 @@ class MonoMdk327 < Cask url 'http://download.mono-project.com/archive/3.2.7/macos-10-x86/MonoFramework-MDK-3.2.7.macos10.xamarin.x86.pkg' homepage 'http://mono-project.com/' - install 'MonoFramework-MDK-3.2.7.macos10.xamarin.x86.pkg' + pkg 'MonoFramework-MDK-3.2.7.macos10.xamarin.x86.pkg' uninstall :pkgutil => 'com.xamarin.mono-MDK.pkg' end diff --git a/Casks/netbeans-php-nightly.rb b/Casks/netbeans-php-nightly.rb index 8afdca8b4..9b813f897 100644 --- a/Casks/netbeans-php-nightly.rb +++ b/Casks/netbeans-php-nightly.rb @@ -4,7 +4,7 @@ class NetbeansPhpNightly < Cask sha256 '310e50c21614ec748ddbc3657b3dc51634ec5831ae28a18d76cff1c2c29d0088' url "http://bits.netbeans.org/download/trunk/nightly/latest/bundles/netbeans-trunk-nightly-#{version}-php-macosx.dmg" - install "NetBeans Dev #{version}.mpkg" + pkg "NetBeans Dev #{version}.mpkg" uninstall :files => [ '/Applications/NetBeans' diff --git a/Casks/parallels8.rb b/Casks/parallels8.rb index e56b67f04..1ca1f8a49 100644 --- a/Casks/parallels8.rb +++ b/Casks/parallels8.rb @@ -5,5 +5,5 @@ class Parallels8 < Cask url 'http://www.parallels.com/directdownload/pd8' homepage 'http://www.parallels.com/products/desktop/' - install 'Install.mpkg' + pkg 'Install.mpkg' end diff --git a/Casks/paraview-nightly.rb b/Casks/paraview-nightly.rb index d27dc02f8..7906dc21c 100644 --- a/Casks/paraview-nightly.rb +++ b/Casks/paraview-nightly.rb @@ -10,6 +10,6 @@ class ParaviewNightly < Cask This version of Paraview should be installed if your system Python version is 2.7. If you are running OS X Lion (10.7) or Mountain Lion (10.8) and your system Python version is 2.6, please instead - install paraview-nightly-lion-python27. + pkg paraview-nightly-lion-python27. EOS end diff --git a/Casks/quicktime-player7.rb b/Casks/quicktime-player7.rb index bef253298..06ab84e76 100644 --- a/Casks/quicktime-player7.rb +++ b/Casks/quicktime-player7.rb @@ -5,7 +5,7 @@ class QuicktimePlayer7 < Cask url 'http://support.apple.com/downloads/DL923/en_US/QuickTimePlayer7.6.6_SnowLeopard.dmg' homepage 'http://support.apple.com/kb/dl923' - install 'QuickTimePlayer7.6.6_SnowLeopard.pkg' + pkg 'QuickTimePlayer7.6.6_SnowLeopard.pkg' uninstall :pkgutil => 'com.apple.pkg.QuickTimePlayer7.6.6_SnowLeopard', :files => '/Applications/Utilities/QuickTime Player 7.app' end diff --git a/Casks/soundflower-ultraschall.rb b/Casks/soundflower-ultraschall.rb index 89a13b12d..cd706164a 100644 --- a/Casks/soundflower-ultraschall.rb +++ b/Casks/soundflower-ultraschall.rb @@ -5,7 +5,7 @@ class SoundflowerUltraschall < Cask url "https://github.com/MariusE/Soundflower-Ultraschall-Edition/releases/download/#{version}/Soundflower-#{version}.dmg" homepage 'https://github.com/MariusE/Soundflower-Ultraschall-Edition' - install 'Soundflower.pkg', :allow_untrusted => true + pkg 'Soundflower.pkg', :allow_untrusted => true uninstall :pkgutil => 'com.cycling74.soundflower*', :files => '/Applications/Soundflower' end diff --git a/Casks/truecrypt71a.rb b/Casks/truecrypt71a.rb index c76df1edb..176d7320a 100644 --- a/Casks/truecrypt71a.rb +++ b/Casks/truecrypt71a.rb @@ -5,7 +5,7 @@ class Truecrypt71a < Cask url 'https://github.com/DrWhax/truecrypt-archive/raw/231bb2f64564a087de338a68fb9498320eecfe2a/TrueCrypt%207.1a%20Mac%20OS%20X.dmg' homepage 'http://truecrypt.sourceforge.net/' - install 'TrueCrypt 7.1a.mpkg' + pkg 'TrueCrypt 7.1a.mpkg' caveats do files_in_usr_local <<-EOS.undent diff --git a/Casks/vagrant127.rb b/Casks/vagrant127.rb index 74f243ae4..81ee49fbf 100644 --- a/Casks/vagrant127.rb +++ b/Casks/vagrant127.rb @@ -5,6 +5,6 @@ class Vagrant127 < Cask url 'http://files.vagrantup.com/packages/7ec0ee1d00a916f80b109a298bab08e391945243/Vagrant-1.2.7.dmg' homepage 'http://www.vagrantup.com' - install 'Vagrant.pkg' + pkg 'Vagrant.pkg' uninstall :script => { :executable => 'uninstall.tool', :input => %w[Yes] } end diff --git a/Casks/vagrant143.rb b/Casks/vagrant143.rb index 5250d1e18..cd09a9a42 100644 --- a/Casks/vagrant143.rb +++ b/Casks/vagrant143.rb @@ -5,6 +5,6 @@ class Vagrant143 < Cask url 'https://dl.bintray.com/mitchellh/vagrant/Vagrant-1.4.3.dmg' homepage 'http://www.vagrantup.com' - install 'Vagrant.pkg' + pkg 'Vagrant.pkg' uninstall :script => 'uninstall.tool', :input => %w[Yes] end diff --git a/Casks/vagrant163.rb b/Casks/vagrant163.rb index 43241ae99..8306f3f05 100644 --- a/Casks/vagrant163.rb +++ b/Casks/vagrant163.rb @@ -5,6 +5,6 @@ class Vagrant163 < Cask url 'https://dl.bintray.com/mitchellh/vagrant/vagrant_1.6.3.dmg' homepage 'http://www.vagrantup.com' - install 'Vagrant.pkg' + pkg 'Vagrant.pkg' uninstall :script => { :executable => 'uninstall.tool', :input => %w[Yes] } end diff --git a/Casks/virtualbox422492790.rb b/Casks/virtualbox422492790.rb index 5a978f4c4..c81e6a3f9 100644 --- a/Casks/virtualbox422492790.rb +++ b/Casks/virtualbox422492790.rb @@ -5,6 +5,6 @@ class Virtualbox422492790 < Cask url 'http://download.virtualbox.org/virtualbox/4.2.24/VirtualBox-4.2.24-92790-OSX.dmg' homepage 'http://www.virtualbox.org' - install 'VirtualBox.pkg' + pkg 'VirtualBox.pkg' uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] } end diff --git a/Casks/virtualbox431293733.rb b/Casks/virtualbox431293733.rb index 36bd2771c..4a3f56f25 100644 --- a/Casks/virtualbox431293733.rb +++ b/Casks/virtualbox431293733.rb @@ -5,6 +5,6 @@ class Virtualbox431293733 < Cask url 'http://download.virtualbox.org/virtualbox/4.3.12/VirtualBox-4.3.12-93733-OSX.dmg' homepage 'http://www.virtualbox.org' - install 'VirtualBox.pkg' + pkg 'VirtualBox.pkg' uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] } end diff --git a/Casks/virtualbox43691406.rb b/Casks/virtualbox43691406.rb index e1ce6f33b..d14f2a5bf 100644 --- a/Casks/virtualbox43691406.rb +++ b/Casks/virtualbox43691406.rb @@ -5,6 +5,6 @@ class Virtualbox43691406 < Cask url 'http://download.virtualbox.org/virtualbox/4.3.6/VirtualBox-4.3.6-91406-OSX.dmg' homepage 'http://www.virtualbox.org' - install 'VirtualBox.pkg' + pkg 'VirtualBox.pkg' uninstall :script => { :executable => 'VirtualBox_Uninstall.tool', :args => %w[--unattended] } end diff --git a/Casks/wireshark-dev.rb b/Casks/wireshark-dev.rb index 20f5225b4..51d3cd867 100644 --- a/Casks/wireshark-dev.rb +++ b/Casks/wireshark-dev.rb @@ -5,6 +5,6 @@ class WiresharkDev < Cask url 'http://www.wireshark.org/download/osx/Wireshark%201.11.3%20Intel%2064.dmg' homepage 'http://www.wireshark.org' - install 'Wireshark 1.11.3 Intel 64.pkg' + pkg 'Wireshark 1.11.3 Intel 64.pkg' uninstall :pkgutil => 'org.wireshark.*' end