mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-04 15:51:23 +00:00
gnupg: Post 2.3.2 fix for no agent running error (#3109)
This commit is contained in:
parent
b30112a8b5
commit
5425715307
@ -6,15 +6,18 @@
|
|||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"url": "https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.3.3_20211012.exe#/dl.7z",
|
"url": "https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.3.3_20211012.exe#/dl.7z",
|
||||||
"hash": "1a85ab43a5e9ae86919c0cc639ffc96ddd76dc7b5e14295fbe4c282cbd447297",
|
"hash": "1a85ab43a5e9ae86919c0cc639ffc96ddd76dc7b5e14295fbe4c282cbd447297",
|
||||||
"pre_install": [
|
"installer": {
|
||||||
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
|
"script": [
|
||||||
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
|
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
|
||||||
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",
|
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
|
||||||
" Write-Host -F yellow \"Copying old '$env:Appdata\\gnupg' to '$persist_dir\\home'\"",
|
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",
|
||||||
" New-Item \"$dir\\home\" -ItemType Directory -Force | Out-Null",
|
" Write-Host -F yellow \"Copying old '$env:Appdata\\gnupg' to '$persist_dir\\home'\"",
|
||||||
" Copy-Item \"$env:Appdata\\gnupg\\*\" \"$dir\\home\" -Recurse -Force",
|
" New-Item \"$dir\\home\" -ItemType Directory -Force | Out-Null",
|
||||||
"}"
|
" Copy-Item \"$env:Appdata\\gnupg\\*\" \"$dir\\home\" -Recurse -Force",
|
||||||
],
|
"}",
|
||||||
|
"New-Item -ItemType \"directory\" -Path \"$dir\\gnupg\" -Force | Out-Null"
|
||||||
|
]
|
||||||
|
},
|
||||||
"env_add_path": "bin",
|
"env_add_path": "bin",
|
||||||
"persist": "home",
|
"persist": "home",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
|
|||||||
@ -6,15 +6,18 @@
|
|||||||
"license": "GPL-3.0-or-later",
|
"license": "GPL-3.0-or-later",
|
||||||
"url": "https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.3.3_20211012.exe#/dl.7z",
|
"url": "https://www.gnupg.org/ftp/gcrypt/binary/gnupg-w32-2.3.3_20211012.exe#/dl.7z",
|
||||||
"hash": "1a85ab43a5e9ae86919c0cc639ffc96ddd76dc7b5e14295fbe4c282cbd447297",
|
"hash": "1a85ab43a5e9ae86919c0cc639ffc96ddd76dc7b5e14295fbe4c282cbd447297",
|
||||||
"pre_install": [
|
"installer": {
|
||||||
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
|
"script": [
|
||||||
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
|
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
|
||||||
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",
|
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
|
||||||
" Write-Host -F yellow \"Copying old '$env:Appdata\\gnupg' to '$persist_dir\\home'\"",
|
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",
|
||||||
" New-Item \"$dir\\home\" -ItemType Directory -Force | Out-Null",
|
" Write-Host -F yellow \"Copying old '$env:Appdata\\gnupg' to '$persist_dir\\home'\"",
|
||||||
" Copy-Item \"$env:Appdata\\gnupg\\*\" \"$dir\\home\" -Recurse -Force",
|
" New-Item \"$dir\\home\" -ItemType Directory -Force | Out-Null",
|
||||||
"}"
|
" Copy-Item \"$env:Appdata\\gnupg\\*\" \"$dir\\home\" -Recurse -Force",
|
||||||
],
|
"}",
|
||||||
|
"New-Item -ItemType \"directory\" -Path \"$dir\\gnupg\" -Force | Out-Null"
|
||||||
|
]
|
||||||
|
},
|
||||||
"env_add_path": "bin",
|
"env_add_path": "bin",
|
||||||
"persist": "home",
|
"persist": "home",
|
||||||
"checkver": {
|
"checkver": {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user