From e48bcccc4d18c0461ebf0a063cf30da0feff6186 Mon Sep 17 00:00:00 2001 From: Chocolatey Date: Mon, 11 Feb 2019 18:29:29 +0000 Subject: [PATCH] AU: 1 updated - graphviz [skip ci] https://gist.github.com/a14b1e5bfaf70839b338eb1ab7f8226f/dde4ec3cbe1e107055812e0e6b415593af9d0b19 --- automatic/graphviz/Graphviz.nuspec | 4 ++-- automatic/graphviz/README.md | 2 +- automatic/graphviz/legal/VERIFICATION.txt | 2 +- automatic/graphviz/tools/chocolateyInstall.ps1 | 8 ++++---- automatic/graphviz/tools/chocolateyUninstall.ps1 | 2 +- 5 files changed, 9 insertions(+), 9 deletions(-) diff --git a/automatic/graphviz/Graphviz.nuspec b/automatic/graphviz/Graphviz.nuspec index d892cc0ab46..c7a427f96c4 100644 --- a/automatic/graphviz/Graphviz.nuspec +++ b/automatic/graphviz/Graphviz.nuspec @@ -2,13 +2,13 @@ graphviz - 2.38.0.20171119 + 2.38.0.20190211 Graphviz - Graph Visualization Software Arif Bilgin, graphviz committers chocolatey, Jason Denizac, Friedrich von Never https://www.graphviz.org/License.php https://www.graphviz.org/ - https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/00f392142cdbdbda147d3cc3ccb1cb593afb996d/icons/graphviz.png + https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@00f392142cdbdbda147d3cc3ccb1cb593afb996d/icons/graphviz.png true [graphviz](https://chocolatey.org/packages/graphviz) +# [graphviz](https://chocolatey.org/packages/graphviz) Graph visualization is a way of representing structural information as diagrams of abstract graphs and networks. It has important applications in networking, bioinformatics, software engineering, database and web design, machine learning, and in visual interfaces for other technical domains. diff --git a/automatic/graphviz/legal/VERIFICATION.txt b/automatic/graphviz/legal/VERIFICATION.txt index f96bfa65d77..ce82ca85525 100644 --- a/automatic/graphviz/legal/VERIFICATION.txt +++ b/automatic/graphviz/legal/VERIFICATION.txt @@ -7,7 +7,7 @@ Package can be verified like this: 1. Go to - x32: https://www.graphviz.org/pub/graphviz/stable/windows/graphviz-2.38.msi + x32: https://graphviz.gitlab.io/_pages/Download/windows/graphviz-2.38.msi to download the installer. diff --git a/automatic/graphviz/tools/chocolateyInstall.ps1 b/automatic/graphviz/tools/chocolateyInstall.ps1 index b47ab82a62e..4622b97330f 100644 --- a/automatic/graphviz/tools/chocolateyInstall.ps1 +++ b/automatic/graphviz/tools/chocolateyInstall.ps1 @@ -1,21 +1,21 @@ -$ErrorActionPreference = 'Stop' +$ErrorActionPreference = 'Stop' $toolsPath = Split-Path $MyInvocation.MyCommand.Definition $packageArgs = @{ packageName = 'graphviz' fileType = 'msi' - file = gi $toolsPath\*.msi + file = Get-Item $toolsPath\*.msi silentArgs = '/Q' validExitCodes = @(0) softwareName = 'Graphviz' } Install-ChocolateyInstallPackage @packageArgs -rm $toolsPath\*.msi -ea 0 +Remove-Item $toolsPath\*.msi -ea 0 $packageName = $packageArgs.packageName $installLocation = Get-AppInstallLocation $packageArgs.softwareName if (!$installLocation) { Write-Warning "Can't find $packageName install location"; return } Write-Host "$packageName installed to '$installLocation'" -@('dot','circo','sfdp','twopi') |% {Install-BinFile $_ "$installLocation\bin\$_.exe"} +@('dot','circo','sfdp','twopi') |ForEach-Object {Install-BinFile $_ "$installLocation\bin\$_.exe"} diff --git a/automatic/graphviz/tools/chocolateyUninstall.ps1 b/automatic/graphviz/tools/chocolateyUninstall.ps1 index d5ee0bce287..91ef2e3d01a 100644 --- a/automatic/graphviz/tools/chocolateyUninstall.ps1 +++ b/automatic/graphviz/tools/chocolateyUninstall.ps1 @@ -1,3 +1,3 @@ $ErrorActionPreference = 'Stop' -@('dot','circo','sfdp','twopi') |% {Uninstall-BinFile $_} +@('dot','circo','sfdp','twopi') |ForEach-Object {Uninstall-BinFile $_}