Archived
1
0

install.sh: Default $RSH to ssh

This commit is contained in:
Anmol Sethi 2020-10-22 01:43:22 -04:00
parent 30f3030530
commit a0b7bf2180
No known key found for this signature in database
GPG Key ID: 8CEF1878FF10ADEB

View File

@ -181,6 +181,7 @@ main() {
done
if [ "${RSH_ARGS-}" ]; then
RSH="${RSH-ssh}"
echoh "Installing remotely with $RSH $RSH_ARGS"
curl -fsSL https://code-server.dev/install.sh | prefix "$RSH_ARGS" "$RSH" "$RSH_ARGS" sh -s -- "$ALL_FLAGS"
return