Skip to content

Commit 1836edb

Browse files
Ash258rasa
authored andcommitted
fix(checkhashes): Do not call scoop directly (#3527)
* fix(checkhashes): Do not call scoop directly https://github.com/Ash258/GithubActionsBucketForTesting/runs/153802813 * Also fix build
1 parent e8d0be6 commit 1836edb

2 files changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -132,17 +132,17 @@ If you find Scoop useful and would like to support ongoing development and maint
132132

133133
The following buckets are known to scoop:
134134

135-
* [main](https://github.com/ScoopInstaller/Main) - Default bucket for the most common (mostly CLI) apps
136-
* [extras](https://github.com/lukesampson/scoop-extras) - Apps that don't fit the main bucket's [criteria](https://github.com/lukesampson/scoop/wiki/Criteria-for-including-apps-in-the-main-bucket)
137-
* [games](https://github.com/Calinou/scoop-games) - Open source/freeware games and game-related tools
138-
* [nerd-fonts](https://github.com/matthewjberger/scoop-nerd-fonts) - Nerd Fonts
139-
* [nirsoft](https://github.com/kodybrown/scoop-nirsoft) - A subset of the [250](https://github.com/rasa/scoop-directory/blob/master/by-score.md#MCOfficer_scoop-nirsoft) [Nirsoft](https://nirsoft.net) apps
140-
* [java](https://github.com/ScoopInstaller/Java) - Installers for Oracle Java, OpenJDK, Zulu, ojdkbuild, AdoptOpenJDK, Amazon Corretto, BellSoft Liberica & SapMachine
141-
* [jetbrains](https://github.com/Ash258/Scoop-JetBrains) - Installers for all JetBrains utilities and IDEs
135+
- [main](https://github.com/ScoopInstaller/Main) - Default bucket for the most common (mostly CLI) apps
136+
- [extras](https://github.com/lukesampson/scoop-extras) - Apps that don't fit the main bucket's [criteria](https://github.com/lukesampson/scoop/wiki/Criteria-for-including-apps-in-the-main-bucket)
137+
- [games](https://github.com/Calinou/scoop-games) - Open source/freeware games and game-related tools
138+
- [nerd-fonts](https://github.com/matthewjberger/scoop-nerd-fonts) - Nerd Fonts
139+
- [nirsoft](https://github.com/kodybrown/scoop-nirsoft) - A subset of the [250](https://github.com/rasa/scoop-directory/blob/master/by-score.md#MCOfficer_scoop-nirsoft) [Nirsoft](https://nirsoft.net) apps
140+
- [java](https://github.com/ScoopInstaller/Java) - Installers for Oracle Java, OpenJDK, Zulu, ojdkbuild, AdoptOpenJDK, Amazon Corretto, BellSoft Liberica & SapMachine
141+
- [jetbrains](https://github.com/Ash258/Scoop-JetBrains) - Installers for all JetBrains utilities and IDEs
142142
<!-- * [nightlies](https://github.com/ScoopInstaller/Nightlies) - No longer used -->
143-
* [nonportable](https://github.com/oltolm/scoop-nonportable) - Non-portable apps (may require UAC)
144-
* [php](https://github.com/ScoopInstaller/PHP) - Installers for most versions of PHP
145-
* [versions](https://github.com/ScoopInstaller/Versions) - Alternative versions of apps found in other buckets
143+
- [nonportable](https://github.com/oltolm/scoop-nonportable) - Non-portable apps (may require UAC)
144+
- [php](https://github.com/ScoopInstaller/PHP) - Installers for most versions of PHP
145+
- [versions](https://github.com/ScoopInstaller/Versions) - Alternative versions of apps found in other buckets
146146

147147
The main bucket is installed by default. To add any of the other buckets, type:
148148
```
@@ -155,4 +155,4 @@ For example, to add the extras bucket, type:
155155

156156
## Other application buckets
157157

158-
Many other application buckets hosted on Github can be found in the [Scoop Directory](https://github.com/rasa/scoop-directory).
158+
Many other application buckets hosted on Github can be found in the [Scoop Directory](https://github.com/rasa/scoop-directory).

bin/checkhashes.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ param(
5252
$Dir = Resolve-Path $Dir
5353
if ($ForceUpdate) { $Update = $true }
5454
# Cleanup
55-
if (!$UseCache) { scoop cache rm '*HASH_CHECK*' }
55+
if (!$UseCache) { Remove-Item "$cachedir\*HASH_CHECK*" -Force }
5656

5757
function err ([String] $name, [String[]] $message) {
5858
Write-Host "$name`: " -ForegroundColor Red -NoNewline

0 commit comments

Comments
 (0)