Skip to content

Commit

Permalink
AU: 1 updated - maxima
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jul 2, 2018
1 parent 118770b commit 0860834
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
10 changes: 5 additions & 5 deletions automatic/maxima/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@ location on <https://sourceforge.net/projects/maxima/files/Maxima-Windows>
and can be verified by doing the following:

1. Download the following:
32-Bit software: <>
64-Bit software: <>
32-Bit software: <https://sourceforge.net/projects/maxima/files/Maxima-Windows/5.41.0-Windows/maxima-clisp-sbcl-5.41.0a-win32.exe/download>
64-Bit software: <https://sourceforge.net/projects/maxima/files/Maxima-Windows/5.41.0-Windows/maxima-clisp-sbcl-5.41.0a-win64.exe/download>
2. Get the checksum using one of the following methods:
- Using powershell function 'Get-FileHash'
- Use chocolatey utility 'checksum.exe'
3. The checksums should match the following:

checksum type:
checksum32:
checksum64:
checksum type: sha256
checksum32: AFDDBB7FFB9E811FB2265233A690691E13966E51345EC7C10159A72AD63C2C8C
checksum64: 000F73309B75333195CE4E18B41537F12B7F683B86AA01EC26F97C933F7E02C5

The file 'LICENSE.txt' has been obtained from <https://sourceforge.net/p/maxima/code/ci/master/tree/COPYING>
2 changes: 1 addition & 1 deletion automatic/maxima/maxima.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>maxima</id>
<version>5.41.0</version>
<version>5.41.0.1</version>
<title>Maxima</title>
<owners>chocolatey</owners>
<authors>Macsyma group at Project MAC and volunteer contributors</authors>
Expand Down
6 changes: 3 additions & 3 deletions automatic/maxima/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,13 @@ $toolsPath = Split-Path -parent $MyInvocation.MyCommand.Definition
$packageArgs = @{
packageName = $env:ChocolateyPackageName
fileType = 'exe'
file = "$toolsPath\"
file64 = "$toolsPath\"
file = "$toolsPath\maxima-clisp-sbcl-5.41.0a-win32.exe"
file64 = "$toolsPath\maxima-clisp-sbcl-5.41.0a-win64.exe"
softwareName = 'maxima*'
silentArgs = '/S'
validExitCodes = @(0)
}

Install-ChocolateyInstallPackage @packageArgs

ls $toolsPath\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { sc "$_.ignore" } }
Get-ChildItem $toolsPath\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content "$_.ignore" } }
4 changes: 2 additions & 2 deletions automatic/maxima/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ $uninstalled = $false
[array]$key = Get-UninstallRegistryKey @packageArgs

if ($key.Count -eq 1) {
$key | % {
$key | ForEach-Object {
$packageArgs['file'] = "$($_.UninstallString)"

Uninstall-ChocolateyPackage @packageArgs
Expand All @@ -24,5 +24,5 @@ if ($key.Count -eq 1) {
Write-Warning "$($key.Count) matches found!"
Write-Warning "To prevent accidental data loss, no programs will be uninstalled."
Write-Warning "Please alert the package maintainer that the following keys were matched:"
$key | % { Write-Warning "- $($_.DisplayName)" }
$key | ForEach-Object { Write-Warning "- $($_.DisplayName)" }
}

0 comments on commit 0860834

Please sign in to comment.