mirror of
https://github.com/ScoopInstaller/Main.git
synced 2025-11-03 07:11:21 +00:00
gpg|gnupg: Add gpg2 alias (#4551)
This commit is contained in:
parent
5b5caf98f2
commit
61d38545f2
@ -10,6 +10,7 @@
|
||||
"script": [
|
||||
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
|
||||
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
|
||||
"Copy-Item \"$dir\\bin\\gpg.exe\" \"$dir\\bin\\gpg2.exe\"",
|
||||
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",
|
||||
" Write-Host -F yellow \"Copying old '$env:Appdata\\gnupg' to '$persist_dir\\home'\"",
|
||||
" New-Item \"$dir\\home\" -ItemType Directory -Force | Out-Null",
|
||||
|
||||
@ -10,6 +10,7 @@
|
||||
"script": [
|
||||
"Remove-Item \"$dir\\`$PLUGINSDIR\", \"$dir\\gnupg-uninstall.exe.nsis\" -Force -Recurse",
|
||||
"New-Item \"$dir\\bin\\gpgconf.ctl\" -Force | Out-Null",
|
||||
"Copy-Item \"$dir\\bin\\gpg.exe\" \"$dir\\bin\\gpg2.exe\"",
|
||||
"if (!(Test-Path \"$persist_dir\\home\") -and (Test-Path \"$env:Appdata\\gnupg\")) {",
|
||||
" Write-Host -F yellow \"Copying old '$env:Appdata\\gnupg' to '$persist_dir\\home'\"",
|
||||
" New-Item \"$dir\\home\" -ItemType Directory -Force | Out-Null",
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user