File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -11,6 +11,14 @@ set-strictmode -off
1111
1212reset_aliases
1313
14+ # TODO: remove this in a few weeks
15+ if ((Get-LocalBucket ) -notcontains ' main' ) {
16+ warn " The main bucket of Scoop has been separated to 'https://github.com/scoopinstaller/scoop-main'"
17+ warn " You don't have the main bucket added, adding main bucket for you..."
18+ add_bucket ' main'
19+ exit
20+ }
21+
1422$commands = commands
1523if (' --version' -contains $cmd -or (! $cmd -and ' -v' -contains $args )) {
1624 Push-Location $ (versiondir ' scoop' ' current' )
Original file line number Diff line number Diff line change 11function git_proxy_cmd {
2- $proxy = $ (scoop config proxy)
2+ $proxy = get_config ' proxy'
33 $cmd = " git $ ( $args | ForEach-Object { " $_ " }) "
44 if ($proxy -and $proxy -ne ' none' ) {
55 $cmd = " SET HTTPS_PROXY=$proxy &&SET HTTP_PROXY=$proxy &&$cmd "
You can’t perform that action at this time.
0 commit comments