mirror of
https://github.com/jesseduffield/lazygit.git
synced 2026-09-10 07:36:27 -04:00
Merge a3309b19fa into d0ede21e9c
This commit is contained in:
commit
88447dc1d3
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue