Skip to content

Commit dadb296

Browse files
authored
Merge pull request #122 from IBM-Cloud/120
Force update plugins
2 parents 37ca253 + 0ec0526 commit dadb296

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

linux-installer/idt-installer

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -329,7 +329,7 @@ function install_plugins {
329329
read -r p ver <<< "$(bx plugin list | grep "^${plugin} ")"
330330
if [[ -z "$p" ]]; then
331331
log "Installing plugin '$plugin'"
332-
bx plugin install -r "${IDT_INSTALL_BMX_REPO_NAME}" "$plugin"
332+
bx plugin install -f -r "${IDT_INSTALL_BMX_REPO_NAME}" "$plugin"
333333
else
334334
log "Updating plugin '$plugin' from version '$ver'"
335335
bx plugin update -r "${IDT_INSTALL_BMX_REPO_NAME}" "$plugin"

windows-installer/idt-win-installer.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ function install_plugins {
267267
iex "$bx_command plugin update -r $Global:IDT_INSTALL_BMX_REPO_NAME $plugin"
268268
} else {
269269
log "Installing plugin '$plugin'"
270-
iex "$bx_command plugin install -r $Global:IDT_INSTALL_BMX_REPO_NAME $plugin"
270+
iex "$bx_command plugin install -f -r $Global:IDT_INSTALL_BMX_REPO_NAME $plugin"
271271
}
272272
}
273273
log "Running 'ibmcloud plugin list'..."

0 commit comments

Comments
 (0)