fix(database): Update cache when adding bucket (#5946)

This commit is contained in:
Hsiao-nan Cheung
2024-05-08 18:10:13 +08:00
committed by GitHub
parent cc863353e2
commit 776135e0ab
4 changed files with 13 additions and 4 deletions

View File

@@ -19,6 +19,11 @@
# scoop bucket known
param($cmd, $name, $repo)
if (get_config USE_SQLITE_CACHE) {
. "$PSScriptRoot\..\lib\manifest.ps1"
. "$PSScriptRoot\..\lib\database.ps1"
}
$usage_add = 'usage: scoop bucket add <name> [<repo>]'
$usage_rm = 'usage: scoop bucket rm <name>'