File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -38,16 +38,16 @@ $quiet = $opt.q -or $opt.quiet
3838$independent = $opt.i -or $opt.independent
3939
4040# load config
41- $repo = $ (scoop config SCOOP_REPO)
41+ $repo = $ (get_config SCOOP_REPO)
4242if (! $repo ) {
4343 $repo = " https://github.com/lukesampson/scoop"
44- scoop config SCOOP_REPO " $repo "
44+ set_config SCOOP_REPO " $repo "
4545}
4646
47- $branch = $ (scoop config SCOOP_BRANCH)
47+ $branch = $ (get_config SCOOP_BRANCH)
4848if (! $branch ) {
4949 $branch = " master"
50- scoop config SCOOP_BRANCH " $branch "
50+ set_config SCOOP_BRANCH " $branch "
5151}
5252
5353function update_scoop () {
@@ -80,7 +80,7 @@ function update_scoop() {
8080 Push-Location $currentdir
8181
8282 # Check if user configured other branch
83- $branch = $ (scoop config SCOOP_BRANCH)
83+ $branch = $ (get_config SCOOP_BRANCH)
8484 if ((git_branch) -notlike " *$branch " ) { git_checkout $branch }
8585
8686 git_pull - q
You can’t perform that action at this time.
0 commit comments