Skip to content
This repository was archived by the owner on Sep 17, 2024. It is now read-only.

Commit 9104501

Browse files
committed
chore: do not clean up installer's workspace
Because we are using ephemeral workers, we do not want to remove previous files
1 parent fbe8cd6 commit 9104501

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

internal/installer/tar.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,6 @@ func (i *TARPackage) Postinstall() error {
8080
func (i *TARPackage) Preinstall() error {
8181
// simplify layout
8282
cmds := [][]string{
83-
{"rm", "-fr", "/elastic-agent"},
8483
{"mv", fmt.Sprintf("/%s-%s-%s-%s", i.artifact, i.version, i.OS, i.arch), "/elastic-agent"},
8584
}
8685
for _, cmd := range cmds {

0 commit comments

Comments
 (0)