Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions commands/core/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -142,13 +142,13 @@ func installPlatform(pm *packagemanager.PackageManager,
// Perform post install
if !skipPostInstall {
log.Info("Running post_install script")
taskCB(&rpc.TaskProgress{Message: "Configuring platform (post_install run)"})
taskCB(&rpc.TaskProgress{Message: "Configuring platform"})
if err := pm.RunPostInstallScript(platformRelease); err != nil {
return errors.Errorf("running post install: %s", err)
taskCB(&rpc.TaskProgress{Message: fmt.Sprintf("WARNING: cannot run post install: %s", err)})
}
} else if skipPostInstall {
} else {
log.Info("Skipping platform configuration (post_install run).")
taskCB(&rpc.TaskProgress{Message: "Skipping platform configuration (post_install run)"})
taskCB(&rpc.TaskProgress{Message: "Skipping platform configuration"})
}

log.Info("Platform installed")
Expand Down