LibreOffice Language Pack

LibreOffice community · 対応する LibreOffice still に、選択した言語パックを追加します。

CaskオフィスApple シリコン · Intel
提供元 homebrew/cask
過去 30 日間のインストール数48Appランキング 1077 位
過去1年間のインストール数964過去365日間の合計
最新バージョン26.2.69月4日 · 9月4日
ダウンロードサイズ10MBarm64 / x86_64 · dmg
更新頻度毎月過去30日間に0回リリース
ソースリポジトリ
homebrew/cask
その他の名前
LibreOffice Language Pack · libreoffice-still-language-pack
SHA-256
43f55457932e0d47…

インストールとアンインストールの内容

  • アンインストール uninstall

    宣言全体を表示
    {
      "uninstall": [
        {
          "delete": "$HOMEBREW_PREFIX/Caskroom/libreoffice-still-language-pack/26.2.6/libreoffice-still-language-pack"
        }
      ]
    }
  • インストール generated_script

    ソースファイル: SilentInstall.sh

    宣言全体を表示
    {
      "generated_script": [
        "SilentInstall.sh",
        {
          "content": "#!/bin/bash\npathOfApp=$(mdfind \"kMDItemContentType == 'com.apple.application-bundle' && kMDItemFSName == 'LibreOffice.app'\")\nif [[ $(mdls --raw --name kMDItemFSName --name kMDItemVersion \"$pathOfApp\" | xargs -0) == \"LibreOffice.app 26.2.6\"* ]]\nthen\n  #Test if the .app have quarantine attribute, or if they are already launched once.\n  if [[ $(xattr -l \"$pathOfApp\") != *'com.apple.quarantine'* || $(xattr -p com.apple.quarantine \"$pathOfApp\") != '0181;'* ]]\n  then\n    echo \"Silent installation has started, you didn't need to use the .app\"\n    echo \"Add language pack support for $pathOfApp\"\n    /usr/bin/tar -C \"$pathOfApp\" -xjf \"$HOMEBREW_PREFIX/Caskroom/libreoffice-still-language-pack/26.2.6/LibreOffice Language Pack.app/Contents/Resources/tarball.tar.bz2\" && touch \"$pathOfApp\"\n  else\n    echo \"You need to run $pathOfApp once before you can silently install language pack\"\n  fi\nelse\n  echo 'Silent installation cannot match the prerequisite'\n  echo \"To complete the installation of Cask libreoffice-still-language-pack, you must also run the installer at:\"\n  echo \"$HOMEBREW_PREFIX/Caskroom/libreoffice-still-language-pack/26.2.6/LibreOffice Language Pack.app\"\nfi\n"
        }
      ]
    }
  • インストール installer

    宣言全体を表示
    {
      "installer": [
        {
          "script": {
            "executable": "$HOMEBREW_PREFIX/Caskroom/libreoffice-still-language-pack/26.2.6/SilentInstall.sh",
            "sudo": true
          }
        }
      ]
    }
  • インストール postflight_steps

    宣言全体を表示
    {
      "postflight_steps": [
        {
          "steps": [
            {
              "paths": [
                {
                  "base": "staged_path",
                  "path": "SilentInstall.sh"
                }
              ],
              "type": "remove"
            }
          ]
        }
      ]
    }

注意事項

libreoffice-still-language-pack cannot be upgraded, instead use:

  brew reinstall --cask libreoffice-still-language-pack