Skip to content

Commit

Permalink
AU: 1 updated - nordvpn
Browse files Browse the repository at this point in the history
[skip ci]
  • Loading branch information
Chocolatey committed Aug 2, 2020
1 parent c3849f8 commit 66a7c61
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion automatic/nordvpn/info
Original file line number Diff line number Diff line change
@@ -1 +1 @@
5eec749f17c50b8|6.30.10
5f103214128f6b0|6.31.5
4 changes: 2 additions & 2 deletions automatic/nordvpn/nordvpn.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>nordvpn</id>
<version>6.30.10</version>
<packageSourceUrl>https://github.com/AdmiringWorm/chocolatey-packages/tree/master/automatic/nordvpn</packageSourceUrl>
<version>6.31.5</version>
<packageSourceUrl>https://github.com/admiringworm/chocolatey-packages/tree/master/automatic/nordvpn</packageSourceUrl>
<owners>AdmiringWorm, Sanshiro</owners>
<title>NordVPN</title>
<authors>NordVPN</authors>
Expand Down
4 changes: 2 additions & 2 deletions automatic/nordvpn/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
$toolsPath = Split-Path -Parent $MyInvocation.MyCommand.Definition
. "$toolsPath\helpers.ps1"
Write-Host "Importing necessary certificates..."
$certificates = gci "$toolsPath\*.cer"
$certificates | % {
$certificates = Get-ChildItem "$toolsPath\*.cer"
$certificates | ForEach-Object {
Import-Certificate -FilePath $_ -CertStoreLocation "Cert:\LocalMachine\TrustedPublisher"
}

Expand Down
2 changes: 1 addition & 1 deletion automatic/nordvpn/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,4 @@ elseif ($key.Count -gt 2) {
}

Write-Host "Removing NordVPN certificates"
gci Cert:\LocalMachine\TrustedPublisher | ? Subject -Match "nordvpn" | Remove-Item
Get-ChildItem Cert:\LocalMachine\TrustedPublisher | Where-Object Subject -Match "nordvpn" | Remove-Item

0 comments on commit 66a7c61

Please sign in to comment.