From 1c216dc4532b42e88ac78812ea4f496ca53e7805 Mon Sep 17 00:00:00 2001 From: Bryan Ashby Date: Fri, 9 Nov 2018 19:19:16 -0700 Subject: [PATCH] Dur. --- misc/install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/misc/install.sh b/misc/install.sh index dce7ad21..42cbbd0d 100755 --- a/misc/install.sh +++ b/misc/install.sh @@ -79,7 +79,7 @@ download_enigma_source() { else log "Downloading ENiGMA½ from git to '$INSTALL_DIR'" mkdir -p "$INSTALL_DIR" - command git clone ${ENIGMA_SOURCE} "$INSTALL_DIR" && git checkout ${ENIGMA_BRANCH} || { + command git clone ${ENIGMA_SOURCE} "$INSTALL_DIR" || { log_error "Failed to clone ENiGMA½ repo. Please report this!" exit 1 } @@ -89,7 +89,7 @@ download_enigma_source() { install_node_packages() { log "Installing required Node packages" cd ${ENIGMA_INSTALL_DIR} - npm install + git checkout ${ENIGMA_BRANCH} && npm install if [ $? -eq 0 ]; then log "npm package installation complete" else