autofirma: fix RuboCop style.

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

View File

@ -1,31 +1,31 @@
cask 'autofirma' do
version '1.6.5'
sha256 '4564893f65a1566ea82c131a63bb56b44dbd2bcc218b5ba501ebb6dc22634c79'
cask "autofirma" do
version "1.6.5"
sha256 "4564893f65a1566ea82c131a63bb56b44dbd2bcc218b5ba501ebb6dc22634c79"
# estaticos.redsara.es/comunes/autofirma/ was verified as official when first introduced to the cask
url 'https://estaticos.redsara.es/comunes/autofirma/currentversion/AutoFirma_Mac.zip'
name 'AutoFirma'
homepage 'https://firmaelectronica.gob.es/Home/Descargas.htm'
url "https://estaticos.redsara.es/comunes/autofirma/currentversion/AutoFirma_Mac.zip"
name "AutoFirma"
homepage "https://firmaelectronica.gob.es/Home/Descargas.htm"
pkg "AutoFirma_#{version.dots_to_underscores}.pkg"
# remove 'Autofirma ROOT' and '127.0.0.1' certificates from keychain (these were installed by pkg)
uninstall_postflight do
system_command '/usr/bin/security',
system_command "/usr/bin/security",
args: [
'delete-certificate',
'-c', 'AutoFirma ROOT'
],
"delete-certificate",
"-c", "AutoFirma ROOT"
],
sudo: true
system_command '/usr/bin/security',
system_command "/usr/bin/security",
args: [
'delete-certificate',
'-c', '127.0.0.1'
],
"delete-certificate",
"-c", "127.0.0.1"
],
sudo: true
end
uninstall pkgutil: 'es.gob.afirma',
delete: '/Applications/AutoFirma.app'
uninstall pkgutil: "es.gob.afirma",
delete: "/Applications/AutoFirma.app"
end