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"