From 62dd7c11c847b50838e5a690ad7261139b33d233 Mon Sep 17 00:00:00 2001 From: Mike Pirog Date: Fri, 22 Nov 2024 16:12:17 -0500 Subject: [PATCH] lando will now install in ~/.lando/bin by default part 8 --- bin/lando | 2 +- setup-lando.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/bin/lando b/bin/lando index b40d90b..a514f20 100755 --- a/bin/lando +++ b/bin/lando @@ -6,6 +6,6 @@ const args = process.argv.slice(2); // if we have "shellenv" then spoof -if (args.includes('shellenv')) console.log('export PATH="/Users/pirog/.lando/bin${PATH+:$PATH}";'); +if (args.includes('shellenv')) console.log('export PATH="$HOME/.lando/bin${PATH+:$PATH}";'); // otherwise just go for version else console.log('v3.100.999-babylon.5'); diff --git a/setup-lando.sh b/setup-lando.sh index 943bec5..5373801 100755 --- a/setup-lando.sh +++ b/setup-lando.sh @@ -787,9 +787,7 @@ if [[ -z "${NONINTERACTIVE-}" ]]; then # sudo prompt if needs_sudo; then log "- ${tty_green}prompt${tty_reset} for ${tty_bold}sudo${tty_reset} password"; fi # download - if [[ $URL != file://* ]]; then log "- ${tty_magenta}download${tty_reset} lando ${tty_bold}${HRV}${tty_reset} to ${tty_bold}${DEST}${tty_reset}" - # or move - else log "- ${tty_magenta}move${tty_reset} lando ${tty_bold}${ORIGINAL_VERSION}${tty_reset} to ${tty_bold}${DEST}${tty_reset}"; fi + log "- ${tty_magenta}download${tty_reset} lando ${tty_bold}${HRV}${tty_reset} to ${tty_bold}${DEST}${tty_reset}" # setup if [[ "$SETUP" == "1" ]]; then log "- ${tty_blue}run${tty_reset} ${tty_bold}lando setup${tty_reset}"; fi # shellenv