Skip to content
Open
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
6 changes: 6 additions & 0 deletions pkg/updates/updates.go
Original file line number Diff line number Diff line change
Expand Up @@ -288,6 +288,12 @@ func (u *Updater) downloadAndInstall(rawUrl string) error {
return err
}

u.Log.Info("remove tarball zip file")
err = u.OSCommand.Cmd.New([]string{"rm", zipPath}).Run()
if err != nil {
return err
}

// the `tar` terminal cannot store things in a new location without permission
// so it creates it in the current directory. As such our path is fairly simple.
// You won't see it because it's gitignored.
Expand Down