diff --git a/install/install.sh b/install/install.sh index 8f9c7bd15..dbbaa8b01 100644 --- a/install/install.sh +++ b/install/install.sh @@ -80,7 +80,7 @@ update_shell() { LINE=$2 # shell update can be suppressed by `PIXI_NO_PATH_UPDATE` env var - [[ ! -z "$PIXI_NO_PATH_UPDATE" ]] && return + [[ -z "${PIXI_NO_PATH_UPDATE-}" ]] && return # Create the file if it doesn't exist if [ -f "$FILE" ]; then