Commit 3921b8e
authored
Fix FORCE_INSTALL when using simple install commands (#1865)
Resolves #1864
This change updates `get-install.sh` to preserve the `FORCE_INSTALL`
environment variable when running `sudo ./install`.
This allows users to set `FORCE_INSTALL` before running the simple
install commands.
To test live on a device, install Raspberry Pi OS Bullseye 32-bit and
run:
```bash
export FORCE_INSTALL=1
```
And then:
```bash
curl \
--silent \
--show-error \
https://raw.githubusercontent.com/tiny-pilot/tinypilot/refs/heads/1864-force_install-doesnt-work-as-expected/get-tinypilot.sh | \
bash - && \
sudo reboot
```
<a data-ca-tag
href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1865"><img
src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review
on CodeApprove" /></a>1 parent f127ad2 commit 3921b8e
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
0 commit comments