Skip to content

Commit

Permalink
AU: 1 updated - krita
Browse files Browse the repository at this point in the history
  • Loading branch information
Chocolatey committed Jan 12, 2018
1 parent 8bf9012 commit 05333d3
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion automatic/krita/krita.nuspec
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<metadata>
<id>krita</id>
<title>Krita</title>
<version>3.3.2</version>
<version>3.3.3</version>
<owners>chocolatey,dtgm,KDE</owners>
<summary>Krita is a sketching and painting program designed for digital artists.</summary>
<description><![CDATA[Krita is the full-featured free digital painting studio for artists who want to create professional work from start to end. Krita is used by comic book artists, illustrators, concept artists, matte and texture painters and in the digital VFX industry. The name “Krita” comes from Swedish, and means “to draw” or “chalk” and was taken after the names “KImageShop” and “Krayon” gave problems.
Expand Down
8 changes: 4 additions & 4 deletions automatic/krita/legal/VERIFICATION.txt
Original file line number Diff line number Diff line change
Expand Up @@ -7,17 +7,17 @@ Package can be verified like this:

1. Go to

x86: https://download.kde.org/stable/krita/3.3.2/krita-3.3.2-x86-setup.exe
x64: https://download.kde.org/stable/krita/3.3.2/krita-3.3.2-x64-setup.exe
x86: https://download.kde.org/stable/krita/3.3.3/krita-3.3.3-x86-setup.exe
x64: https://download.kde.org/stable/krita/3.3.3/krita-3.3.3-x64-setup.exe

to download the installer.

2. You can use one of the following methods to obtain the checksum:
- Use powershell function 'Get-FileHash'
- Use Chocolatey utility 'checksum.exe'

checksum32: 68BA242398883FCD19EA4EB7F7D916754BFAA86766A8E33882EF5D63C46DBD4C
checksum64: ADA15320A841BFEDCA98E595DB2BB74763DD7315684033E8CEE5FF54D50368CF
checksum32: 304FD76F411810FADB880EDD08248AB8BC97A0C262249278EF87564569EC9857
checksum64: E680DA8C79C6FF28151341987872BD876B1F7E8A94F2EACD8CB96C04D28FE996

Checksums type: sha256

Expand Down
6 changes: 3 additions & 3 deletions automatic/krita/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"

$packageArgs = @{
file = "$toolsDir\krita-3.3.2-x86-setup.exe"
file64 = "$toolsDir\krita-3.3.2-x64-setup.exe"
file = "$toolsDir\krita-3.3.3-x86-setup.exe"
file64 = "$toolsDir\krita-3.3.3-x64-setup.exe"
fileType = 'exe'
packageName = 'krita'
softwareName = 'Krita'
silentArgs = "/S"
}

Install-ChocolateyInstallPackage @packageArgs
ls $toolsDir\*.exe | % { rm $_ -ea 0; if (Test-Path $_) { Set-Content -Value "" -Path "$_.ignore" }}
Get-ChildItem $toolsDir\*.exe | ForEach-Object { Remove-Item $_ -ea 0; if (Test-Path $_) { Set-Content -Value "" -Path "$_.ignore" }}
6 changes: 3 additions & 3 deletions automatic/krita/tools/chocolateyUninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$packageArgs = @{
$packageArgs = @{
packageName = $env:ChocolateyPackageName
softwareName = 'Krita'
fileType = 'exe'
Expand All @@ -10,7 +10,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 @@ -21,5 +21,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 05333d3

Please sign in to comment.