diff --git a/install.sh b/install.sh index 110a4916..c3405002 100755 --- a/install.sh +++ b/install.sh @@ -2,7 +2,7 @@ set -eu usage() { - cat <=~/.local] Installs latest code-server on any macOS or Linux system preferring to use the OS package manager. @@ -48,10 +48,10 @@ echo_latest_version() { echo_static_postinstall() { echo - cat </dev/null 2>&1 + command -v "$@" > /dev/null 2>&1 } sh_c() { - if [ ! "${SKIP_LOG-}" ]; then + if [ ! "${SKIP_ECHO-}" ]; then echo echo "+ $*" fi