6 lines
335 B
PowerShell
6 lines
335 B
PowerShell
if( Test-Path (Join-Path $env:SCOOP last-scoop-refresh.clixml) ) {
|
|
scoop refresh
|
|
} else {
|
|
Write-Warning ("No recorded time for last 'scoop refresh', to remedy, run 'scoop refresh' at least once manually." +
|
|
"`nIf the issue still persists, please run 'scoop alias-update' to update to latest refresh code, and try again.")
|
|
} |