From 57e60ae0968ea0affe024b9012993be62d0f9bf5 Mon Sep 17 00:00:00 2001 From: dragon788 Date: Tue, 13 Dec 2016 18:02:11 -0600 Subject: [PATCH] (maint) Fixed typo/spelling --- .../Install-ChocolateyPowershellCommand.ps1 | 116 +++++++++--------- 1 file changed, 58 insertions(+), 58 deletions(-) diff --git a/src/chocolatey.resources/helpers/functions/Install-ChocolateyPowershellCommand.ps1 b/src/chocolatey.resources/helpers/functions/Install-ChocolateyPowershellCommand.ps1 index 15ee887f98..3cf93155a4 100644 --- a/src/chocolatey.resources/helpers/functions/Install-ChocolateyPowershellCommand.ps1 +++ b/src/chocolatey.resources/helpers/functions/Install-ChocolateyPowershellCommand.ps1 @@ -51,7 +51,7 @@ it in the package next to the install script, the path will be like This is the 32 bit url to download the resource from. This resource can be used on 64 bit systems when a package has both a Url and Url64bit specified if a user passes `--forceX86`. If there is only a 64 bit url -available, please remove do not use the paramter (only use Url64bit). +available, please remove do not use the parameter (only use Url64bit). Will fail on 32bit systems if missing or if a user attempts to force a 32 bit installation on a 64 bit system. @@ -68,66 +68,66 @@ this parameter. Prefer HTTPS when available. Can be HTTP, FTP, or File URIs. -.PARAMETER Checksum -The checksum hash value of the Url resource. This allows a checksum to -be validated for files that are not local. The checksum type is covered -by ChecksumType. - -**NOTE:** Checksums in packages are meant as a measure to validate the -originally intended file that was used in the creation of a package is -the same file that is received at a future date. Since this is used for -other steps in the process related to the community repository, it -ensures that the file a user receives is the same file a maintainer -and a moderator (if applicable), plus any moderation review has -intended for you to receive with this package. If you are looking at a -remote source that uses the same url for updates, you will need to -ensure the package also stays updated in line with those remote -resource updates. You should look into [automatic packaging](https://chocolatey.org/docs/automatic-packages) -to help provide that functionality. - -.PARAMETER ChecksumType -The type of checkum that the file is validated with - valid -values are 'md5', 'sha1', 'sha256' or 'sha512' - defaults to 'md5'. - -MD5 is not recommended as certain organizations need to use FIPS -compliant algorithms for hashing - see -https://support.microsoft.com/en-us/kb/811833 for more details. - -The recommendation is to use at least SHA256. - -.PARAMETER Checksum64 -OPTIONAL if no Url64bit - The checksum hash value of the Url64bit -resource. This allows a checksum to be validated for files that are not -local. The checksum type is covered by ChecksumType64. - -**NOTE:** Checksums in packages are meant as a measure to validate the -originally intended file that was used in the creation of a package is -the same file that is received at a future date. Since this is used for -other steps in the process related to the community repository, it -ensures that the file a user receives is the same file a maintainer -and a moderator (if applicable), plus any moderation review has -intended for you to receive with this package. If you are looking at a -remote source that uses the same url for updates, you will need to -ensure the package also stays updated in line with those remote -resource updates. You should look into [automatic packaging](https://chocolatey.org/docs/automatic-packages) +.PARAMETER Checksum +The checksum hash value of the Url resource. This allows a checksum to +be validated for files that are not local. The checksum type is covered +by ChecksumType. + +**NOTE:** Checksums in packages are meant as a measure to validate the +originally intended file that was used in the creation of a package is +the same file that is received at a future date. Since this is used for +other steps in the process related to the community repository, it +ensures that the file a user receives is the same file a maintainer +and a moderator (if applicable), plus any moderation review has +intended for you to receive with this package. If you are looking at a +remote source that uses the same url for updates, you will need to +ensure the package also stays updated in line with those remote +resource updates. You should look into [automatic packaging](https://chocolatey.org/docs/automatic-packages) to help provide that functionality. -**NOTE:** To determine checksums, you can get that from the original -site if provided. You can also use the [checksum tool available on -the community feed](https://chocolatey.org/packages/checksum) (`choco install checksum`) -and use it e.g. `checksum -t sha256 -f path\to\file`. Ensure you -provide checksums for all remote resources used. - -.PARAMETER ChecksumType64 -OPTIONAL - The type of checkum that the file is validated with - valid -values are 'md5', 'sha1', 'sha256' or 'sha512' - defaults to -ChecksumType parameter value. - -MD5 is not recommended as certain organizations need to use FIPS -compliant algorithms for hashing - see +.PARAMETER ChecksumType +The type of checkum that the file is validated with - valid +values are 'md5', 'sha1', 'sha256' or 'sha512' - defaults to 'md5'. + +MD5 is not recommended as certain organizations need to use FIPS +compliant algorithms for hashing - see +https://support.microsoft.com/en-us/kb/811833 for more details. + +The recommendation is to use at least SHA256. + +.PARAMETER Checksum64 +OPTIONAL if no Url64bit - The checksum hash value of the Url64bit +resource. This allows a checksum to be validated for files that are not +local. The checksum type is covered by ChecksumType64. + +**NOTE:** Checksums in packages are meant as a measure to validate the +originally intended file that was used in the creation of a package is +the same file that is received at a future date. Since this is used for +other steps in the process related to the community repository, it +ensures that the file a user receives is the same file a maintainer +and a moderator (if applicable), plus any moderation review has +intended for you to receive with this package. If you are looking at a +remote source that uses the same url for updates, you will need to +ensure the package also stays updated in line with those remote +resource updates. You should look into [automatic packaging](https://chocolatey.org/docs/automatic-packages) +to help provide that functionality. + +**NOTE:** To determine checksums, you can get that from the original +site if provided. You can also use the [checksum tool available on +the community feed](https://chocolatey.org/packages/checksum) (`choco install checksum`) +and use it e.g. `checksum -t sha256 -f path\to\file`. Ensure you +provide checksums for all remote resources used. + +.PARAMETER ChecksumType64 +OPTIONAL - The type of checkum that the file is validated with - valid +values are 'md5', 'sha1', 'sha256' or 'sha512' - defaults to +ChecksumType parameter value. + +MD5 is not recommended as certain organizations need to use FIPS +compliant algorithms for hashing - see https://support.microsoft.com/en-us/kb/811833 for more details. - -The recommendation is to use at least SHA256. + +The recommendation is to use at least SHA256. .PARAMETER Options OPTIONAL - Specify custom headers. Available in 0.9.10+.