From 435424f5743ac00b943b8d1a0d2e4b511e589e16 Mon Sep 17 00:00:00 2001 From: Aditya Dalal Date: Wed, 8 Feb 2023 16:52:23 +0000 Subject: [PATCH 1/2] libreoffice-language-pack: add upgrade caveat --- Casks/libreoffice-language-pack.rb | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Casks/libreoffice-language-pack.rb b/Casks/libreoffice-language-pack.rb index 2b088a8be2e84..0362072594963 100644 --- a/Casks/libreoffice-language-pack.rb +++ b/Casks/libreoffice-language-pack.rb @@ -813,4 +813,7 @@ # and that for this cask it is indeed this simple. # See https://github.com/Homebrew/homebrew-cask/pull/52893 uninstall delete: "#{staged_path}/#{token}" + caveats <<~EOS + #{token} cannot be upgraded, use brew reinstall --cask #{token} instead + EOS end From 64c848d17418af86ba53aef08c0501e2611a98a0 Mon Sep 17 00:00:00 2001 From: Aditya Dalal Date: Wed, 8 Feb 2023 12:20:46 -0500 Subject: [PATCH 2/2] libreoffice-language-pack: fix style --- Casks/libreoffice-language-pack.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Casks/libreoffice-language-pack.rb b/Casks/libreoffice-language-pack.rb index 0362072594963..652ee9f995188 100644 --- a/Casks/libreoffice-language-pack.rb +++ b/Casks/libreoffice-language-pack.rb @@ -813,6 +813,7 @@ # and that for this cask it is indeed this simple. # See https://github.com/Homebrew/homebrew-cask/pull/52893 uninstall delete: "#{staged_path}/#{token}" + caveats <<~EOS #{token} cannot be upgraded, use brew reinstall --cask #{token} instead EOS