Skip to content

Commit edd2cf3

Browse files
committed
🧹
1 parent c64a2ef commit edd2cf3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

site/static/install.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ main() {
188188
if [ "${RSH_ARGS-}" ]; then
189189
RSH="${RSH-ssh}"
190190
echoh "Installing remotely with $RSH $RSH_ARGS"
191-
curl -fsSL {{ .Origin }}/install.sh | prefix "$RSH_ARGS" "$RSH" "$RSH_ARGS" sh -s -- "$ALL_FLAGS"
191+
curl -fsSL "{{ .Origin }}/install.sh" | prefix "$RSH_ARGS" "$RSH" "$RSH_ARGS" sh -s -- "$ALL_FLAGS"
192192
return
193193
fi
194194

@@ -208,7 +208,7 @@ main() {
208208
echoh
209209
fi
210210

211-
if [ ! has_standalone ]; then
211+
if ! has_standalone; then
212212
echoerr "There is no binary for $OS-$ARCH"
213213
exit 1
214214
fi
@@ -306,7 +306,7 @@ has_standalone() {
306306
amd64) return 0 ;;
307307
arm64) return 0 ;;
308308
armv7)
309-
[ "$(distro)" == "linux" ]
309+
[ "$(distro)" = "linux" ]
310310
return
311311
;;
312312
*) return 1 ;;

0 commit comments

Comments
 (0)