brew cask

This commit is contained in:
2019-05-28 11:21:16 +02:00
parent 5db26f44c6
commit 3a829a5cea
5 changed files with 85 additions and 16 deletions

View File

@@ -247,3 +247,69 @@ Already downloaded: /Users/bruno/Library/Caches/Homebrew/downloads/1916f7da74b03
==> Moving App 'HandBrake.app' to '/Applications/HandBrake.app'.
```
### Réinstaller une ancienne version de VirtualBox (6.0.6 au lieu de 6.0.8):
Désinstaller la version actuelle:
```bash
$ brew cask uninstall virtualbox
$ brew cask uninstall virtualbox-extension-pack
```
Récupérer la liste des commits:
```bash
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask log Casks/virtualbox.rb
commit c774b25eee695c3032b6928e646f2118eab8eabf
Author: Ole-Martin Bratteng <1681525+omBratteng@users.noreply.github.com>
Date: Wed May 15 18:37:37 2019 +0200
Update virtualbox from 6.0.6,130049 to 6.0.8,130520 (#63302)
commit 28143da5bb1559f734221b6ad6e3cb5b7ab0153f
Author: tiiiecherle <tiiiecherle@gmail.com>
Date: Wed Apr 17 16:52:59 2019 +0200
Update virtualbox from 6.0.4,128413 to 6.0.6,130049 (#62035)
.../...
```
Récupérer *la recette* correspondant au commit souhaité:
```bash
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask checkout 28143da5bb1559f734221b6ad6e3cb5b7ab0153f Casks/virtualbox.rb
```
Installer VirtualBox:
```bash
$ HOMEBREW_NO_AUTO_UPDATE=1 brew cask install virtualbox
```
Faire de même pour l'extension pack:
```bash
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask log Casks/virtualbox-extension-pack.rb
commit 782591b692eb2592c639a04b580eea82583c956b
Author: tiiiecherle <tiiiecherle@gmail.com>
Date: Wed May 15 18:38:10 2019 +0200
Update virtualbox-extension-pack from 6.0.6 to 6.0.8 (#63303)
commit 73f9805759f8de5bd381e6d7c7a559967449b11a
Author: tiiiecherle <tiiiecherle@gmail.com>
Date: Wed Apr 17 17:01:10 2019 +0200
Update virtualbox-extension-pack from 6.0.4 to 6.0.6 (#62033)
.../...
$ git -C /usr/local/Homebrew/Library/Taps/homebrew/homebrew-cask checkout 70baf19bfe323ecf4a7b7ce0ca6310e01f6a66a4 Casks/virtualbox-extension-pack.rb
$ HOMEBREW_NO_AUTO_UPDATE=1 brew cask install virtualbox-extension-pack
```