gpg-suite-pinentry: fix RuboCop style.

See https://github.com/Homebrew/brew/pull/7867.
This commit is contained in:
Mike McQuaid 2020-07-27 10:25:43 +01:00
parent de4a4762c0
commit 1bd91b916b
No known key found for this signature in database
GPG Key ID: 48A898132FD8EE70
1 changed files with 96 additions and 96 deletions

View File

@ -1,108 +1,108 @@
cask 'gpg-suite-pinentry' do
version '2020.1'
sha256 '43d7becb7faaeafcffaf6a2723cea7ea004265a79e2df9a1a9687916a694a131'
cask "gpg-suite-pinentry" do
version "2020.1"
sha256 "43d7becb7faaeafcffaf6a2723cea7ea004265a79e2df9a1a9687916a694a131"
url "https://releases.gpgtools.org/GPG_Suite-#{version}.dmg"
appcast 'https://gpgtools.org/releases/gka/appcast.xml'
name 'GPG Suite Pinentry'
homepage 'https://gpgtools.org/'
appcast "https://gpgtools.org/releases/gka/appcast.xml"
name "GPG Suite Pinentry"
homepage "https://gpgtools.org/"
auto_updates true
conflicts_with cask: [
'gpg-suite',
'gpg-suite-nightly',
]
depends_on macos: '>= :sierra'
"gpg-suite",
"gpg-suite-nightly",
]
depends_on macos: ">= :sierra"
pkg 'Install.pkg',
pkg "Install.pkg",
choices: [
{
'choiceIdentifier' => 'installer_choice_1', # preinstall.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_2', # Libmacgpg_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_3', # LibmacgpgXPC_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_4', # GPGMail_14_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_5', # GPGMail_13_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_6', # GPGMail_12_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_7', # GPGMailLoader_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_8', # GPGServices_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_9', # GPGKeychain_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_10', # GPGPreferences_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_11', # MacGPG2.1_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_12', # Updater_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_13', # pinentry_Core.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 1,
},
{
'choiceIdentifier' => 'installer_choice_14', # version.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_15', # key.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
{
'choiceIdentifier' => 'installer_choice_16', # CheckPrivateKey.pkg
'choiceAttribute' => 'selected',
'attributeSetting' => 0,
},
]
{
"choiceIdentifier" => "installer_choice_1", # preinstall.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_2", # Libmacgpg_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_3", # LibmacgpgXPC_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_4", # GPGMail_14_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_5", # GPGMail_13_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_6", # GPGMail_12_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_7", # GPGMailLoader_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_8", # GPGServices_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_9", # GPGKeychain_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_10", # GPGPreferences_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_11", # MacGPG2.1_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_12", # Updater_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_13", # pinentry_Core.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 1,
},
{
"choiceIdentifier" => "installer_choice_14", # version.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_15", # key.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
{
"choiceIdentifier" => "installer_choice_16", # CheckPrivateKey.pkg
"choiceAttribute" => "selected",
"attributeSetting" => 0,
},
]
uninstall pkgutil: 'org.gpgtools.pinentry.*',
quit: 'org.gpgtools.pinentry-mac',
delete: '/usr/local/MacGPG2'
uninstall pkgutil: "org.gpgtools.pinentry.*",
quit: "org.gpgtools.pinentry-mac",
delete: "/usr/local/MacGPG2"
zap trash: '~/Library/Preferences/org.gpgtools.common.plist'
zap trash: "~/Library/Preferences/org.gpgtools.common.plist"
caveats do
files_in_usr_local