# bundle: Restore local install on macOS \(\#41482\) · gitcafe/zed

[View on GitCafe](https://git.cafe/gitcafe/zed/commit/e30d5998e47eaeb8915e6ab59a0381a9c622c52b)

Repository: [gitcafe/zed](https://git.cafe/gitcafe/zed)

Visibility: public

Requested revision: e30d5998e47eaeb8915e6ab59a0381a9c622c52b

Requested commit: e30d5998e47eaeb8915e6ab59a0381a9c622c52b

Commit: e30d5998e47eaeb8915e6ab59a0381a9c622c52b

Tree: 22b28a0f78dab3f455e92b4bd081393c0ef31ee5

Author: claytonrcarter

Committer: GitHub

## Message

```
bundle: Restore local install on macOS (#41482)

I just pulled and ran a local build via `script/bundle-mac -l -i` but
found that the resulting bundle wasn't installed as expected. (me:
"ToggleAllDocks!! Wait! Where is it?!") Looking into, it looks like the
`-l` flag was removed in #41392, leaving the `$local_only` var orphaned,
which then left the `-i/$local_install` flag unreachable. I suspect that
this was unintentional, so this PR re-adds the `-l/$local_only` flag to
`script/bundle-mac`.

I ran the build again and confirmed that local install seemed to work as
expected. (ie "ToggleAllDocks!! :tada:")

While here, I also removed the last reference to `$local_arch`, because
all other references to that were removed in #41392.

/cc @osiewicz 

Release Notes:

- N/A

---------

Co-authored-by: Conrad Irwin <conrad.irwin@gmail.com>
```

## Parents

- [277ae27ca29c680ec58aa8a925887355554c359f](https://git.cafe/gitcafe/zed/commit/277ae27ca29c680ec58aa8a925887355554c359f?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zed/tree/e30d5998e47eaeb8915e6ab59a0381a9c622c52b?format=markdown)
