Fix headless mode (#12960)

This was broken by two things:
1. A merge conflict in the install.sh script leading to bad sh syntax
2. A return removed by accident when we refactored main

Release Notes:

- N/A
This commit is contained in:
Conrad Irwin 2024-06-13 07:59:28 -06:00 committed by GitHub
parent 0a13b9ee01
commit e2cfbc54ad
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 1 deletions

View file

@ -47,7 +47,7 @@ main() {
}
linux() {
if [[ -n "${ZED_BUNDLE_PATH:-}" ]]; then
if [ -n "${ZED_BUNDLE_PATH:-}" ]; then
cp "$ZED_BUNDLE_PATH" "$temp/zed-linux-$arch.tar.gz"
else
echo "Downloading Zed"