From 479c06d34ab063067de174948221ac689ccec553 Mon Sep 17 00:00:00 2001 From: Marius van Niekerk Date: Tue, 30 Jan 2024 10:50:06 -0500 Subject: [PATCH] fix: linux install script (#737) The linux installer was broken by #692 and fails currently with `bash: line 83: PIXI_NO_PATH_UPDATE: unbound variable` --- install/install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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