Skip to content

Commit

Permalink
AU: 1 updated - graphviz
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Feb 11, 2019
1 parent f032aa5 commit e48bccc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
4 changes: 2 additions & 2 deletions automatic/graphviz/Graphviz.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,13 @@
<package xmlns="http://schemas.microsoft.com/packaging/2011/08/nuspec.xsd">
<metadata>
<id>graphviz</id>
<version>2.38.0.20171119</version>
<version>2.38.0.20190211</version>
<title>Graphviz - Graph Visualization Software</title>
<authors>Arif Bilgin, graphviz committers</authors>
<owners>chocolatey, Jason Denizac, Friedrich von Never</owners>
<licenseUrl>https://www.graphviz.org/License.php</licenseUrl>
<projectUrl>https://www.graphviz.org/</projectUrl>
<iconUrl>https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/00f392142cdbdbda147d3cc3ccb1cb593afb996d/icons/graphviz.png</iconUrl>
<iconUrl>https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@00f392142cdbdbda147d3cc3ccb1cb593afb996d/icons/graphviz.png</iconUrl>
<requireLicenseAcceptance>true</requireLicenseAcceptance>
<description><![CDATA[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.
Expand Down
2 changes: 1 addition & 1 deletion automatic/graphviz/README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# <img src="https://cdn.rawgit.com/chocolatey/chocolatey-coreteampackages/00f392142cdbdbda147d3cc3ccb1cb593afb996d/icons/graphviz.png" width="48" height="48"/> [graphviz](https://chocolatey.org/packages/graphviz)
# <img src="https://cdn.jsdelivr.net/gh/chocolatey/chocolatey-coreteampackages@00f392142cdbdbda147d3cc3ccb1cb593afb996d/icons/graphviz.png" width="48" height="48"/> [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.

Expand Down
2 changes: 1 addition & 1 deletion automatic/graphviz/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
8 changes: 4 additions & 4 deletions automatic/graphviz/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -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"}
2 changes: 1 addition & 1 deletion automatic/graphviz/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
$ErrorActionPreference = 'Stop'

@('dot','circo','sfdp','twopi') |% {Uninstall-BinFile $_}
@('dot','circo','sfdp','twopi') |ForEach-Object {Uninstall-BinFile $_}

0 comments on commit e48bccc

Please sign in to comment.