File tree Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Expand file tree Collapse file tree 2 files changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -597,6 +597,12 @@ Confirm-Environment
597597# Select the appropriate architecture
598598$Arch = Select-Architecture
599599
600+ # Remove @lando core if applicable
601+ if (-not (Test-Path " $env: USERPROFILE \.lando\plugins\@lando\core" - ErrorAction SilentlyContinue)) {
602+ Write-Debug " Removing detectecd core plugin from $env: USERPROFILE \.lando\plugins\@lando..."
603+ Remove-Item - Path " $env: USERPROFILE \.lando\plugins\@lando\core" - Recurse - Force
604+ }
605+
600606# Set up our working directory
601607if (-not (Test-Path " $LANDO_APPDATA " - ErrorAction SilentlyContinue)) {
602608 Write-Debug " Creating destination directory $LANDO_APPDATA ..."
Original file line number Diff line number Diff line change @@ -161,7 +161,7 @@ get_installer_os
161161# see https://github.blog/changelog/2022-05-24-github-actions-re-run-jobs-with-debug-logging/
162162
163163# @TODO: no-sudo option
164- # @TODO: dest
164+ # @TODO: dest based on mv?
165165ARCH=" ${LANDO_INSTALLER_ARCH:- " $INSTALLER_ARCH " } "
166166DEBUG=" ${LANDO_INSTALLER_DEBUG:- ${RUNNER_DEBUG:- } } "
167167DEST=" ${LANDO_INSTALLER_DEST:-/ usr/ local/ bin} "
You can’t perform that action at this time.
0 commit comments