surrealdb / install.surrealdb.com

The script for installing SurrealDB on unix operating systems
https://install.surrealdb.com
Apache License 2.0
9 stars 6 forks source link

install failed in deb 11 224: [: false: unexpected operator #11

Open nicholasglazer opened 6 months ago

nicholasglazer commented 6 months ago

if anyone else is getting this error, mine was in fresh deb 11 server, just replace == with = in line or add double brackets and keep == in line 224 https://github.com/surrealdb/install.surrealdb.com/blob/fe4756cb1ac07717497b9e3d37adfd840ccca1a1/index.sh#L224C5-L224C44

1710171802_2024-03-11-21_13

I've opened a PR https://github.com/surrealdb/install.surrealdb.com/pull/12

nealtaylor98 commented 1 month ago

for anyone else that stumbles across this - if you'd like to install with a single command, the following worked for me. (Using WSL and Ubuntu) curl --proto '=https' --tlsv1.2 -sSf https://install.surrealdb.com | sed '244s/==/=/' | sh You might have to replace the line number with the number you see in the error sh: 224: [:...