diff --git a/install.sh b/install.sh index 110a49169e25b8dfc75dcdae64c8ffefcff1b79f..c3405002d474f4af5b1ed0af8ce692954b9e4b28 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