From 3242d41d573558985447c4e6d2fe51ed2ecaf778 Mon Sep 17 00:00:00 2001 From: Jonas8272 Date: Sun, 22 Nov 2026 06:04:52 +0000 Subject: [PATCH] install scripts: update the bucket if it is already added Without this, a stale local bucket clone cannot see newly added apps (e.g. "Couldn't find manifest for 'netflix'"). Run scoop update when the bucket already exists. Co-Authored-By: Claude Sonnet 5.5 Claude-Session: https://claude.ai/code/session_01XFn3QekarqiDEYnrbupCyz --- installations/install-bewidgets.ps1 | 3 ++- installations/install-fxsound.ps1 | 3 ++- installations/install-mornye.ps1 | 3 ++- installations/install-netflix.ps1 | 3 ++- installations/install-socialstreamninja.ps1 | 3 ++- installations/install-wintoys.ps1 | 5 +++-- 6 files changed, 13 insertions(+), 7 deletions(-) diff --git a/installations/install-bewidgets.ps1 b/installations/install-bewidgets.ps1 index a07bb1c..f9346fb 100644 --- a/installations/install-bewidgets.ps1 +++ b/installations/install-bewidgets.ps1 @@ -75,7 +75,8 @@ $existing = scoop bucket list | Where-Object { if ($existing) { $BucketName = $existing.Name - Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green + Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green + scoop update } else { Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan scoop bucket add $BucketName $BucketUrl diff --git a/installations/install-fxsound.ps1 b/installations/install-fxsound.ps1 index e6d068a..e2a2347 100644 --- a/installations/install-fxsound.ps1 +++ b/installations/install-fxsound.ps1 @@ -69,7 +69,8 @@ $existing = scoop bucket list | Where-Object { if ($existing) { $BucketName = $existing.Name - Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green + Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green + scoop update } else { Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan scoop bucket add $BucketName $BucketUrl diff --git a/installations/install-mornye.ps1 b/installations/install-mornye.ps1 index 0857444..ed7ffc4 100644 --- a/installations/install-mornye.ps1 +++ b/installations/install-mornye.ps1 @@ -65,7 +65,8 @@ $existing = scoop bucket list | Where-Object { if ($existing) { $BucketName = $existing.Name - Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green + Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green + scoop update } else { Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan scoop bucket add $BucketName $BucketUrl diff --git a/installations/install-netflix.ps1 b/installations/install-netflix.ps1 index c371e97..a161181 100644 --- a/installations/install-netflix.ps1 +++ b/installations/install-netflix.ps1 @@ -75,7 +75,8 @@ $existing = scoop bucket list | Where-Object { if ($existing) { $BucketName = $existing.Name - Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green + Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green + scoop update } else { Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan scoop bucket add $BucketName $BucketUrl diff --git a/installations/install-socialstreamninja.ps1 b/installations/install-socialstreamninja.ps1 index 0d3c47c..69ff0d6 100644 --- a/installations/install-socialstreamninja.ps1 +++ b/installations/install-socialstreamninja.ps1 @@ -65,7 +65,8 @@ $existing = scoop bucket list | Where-Object { if ($existing) { $BucketName = $existing.Name - Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green + Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green + scoop update } else { Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan scoop bucket add $BucketName $BucketUrl diff --git a/installations/install-wintoys.ps1 b/installations/install-wintoys.ps1 index 569218c..acb684a 100644 --- a/installations/install-wintoys.ps1 +++ b/installations/install-wintoys.ps1 @@ -75,14 +75,15 @@ $existing = scoop bucket list | Where-Object { if ($existing) { $BucketName = $existing.Name - Write-Host "Bucket '$BucketName' is already added." -ForegroundColor Green + Write-Host "Bucket '$BucketName' is already added. Updating it..." -ForegroundColor Green + scoop update } else { Write-Host "Adding bucket '$BucketName'..." -ForegroundColor Cyan scoop bucket add $BucketName $BucketUrl if ($LASTEXITCODE -ne 0) { throw "Failed to add bucket '$BucketName'." } } -# 4. The app ----------------------------------------------------------------- +# 4. The app ------------------------------------------------------------------ Write-Host '' Write-Host "Installing $App..." -ForegroundColor Cyan scoop install "$BucketName/$App"