Skip to content

Commit 522135b

Browse files
committed
Added post_install run messages
1 parent 8771bae commit 522135b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Diff for: commands/core/install.go

+4
Original file line numberDiff line numberDiff line change
@@ -142,9 +142,13 @@ func installPlatform(pm *packagemanager.PackageManager,
142142
// Perform post install
143143
if !skipPostInstall && platformRelease.IsTrusted {
144144
log.Info("Running post_install script")
145+
taskCB(&rpc.TaskProgress{Message: "Configuring platform (post_install run)"})
145146
if err := pm.RunPostInstallScript(platformRelease); err != nil {
146147
return errors.Errorf("running post install: %s", err)
147148
}
149+
} else if skipPostInstall {
150+
log.Info("Skipping platform configuration (post_install run).")
151+
taskCB(&rpc.TaskProgress{Message: "Skipping platform configuration (post_install run)"})
148152
}
149153

150154
log.Info("Platform installed")

0 commit comments

Comments
 (0)