diff options
| author | Shulhan <ms@kilabit.info> | 2018-06-03 05:37:21 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2018-06-03 23:51:33 +0700 |
| commit | 304200da05077b2a0327c7c7a63989550ff4bae6 (patch) | |
| tree | d829820d8559b2ed7362581e06f813fd365daab8 | |
| parent | b281934d6296abbecfc36f42de8d8dfd15c6ee44 (diff) | |
| download | beku-304200da05077b2a0327c7c7a63989550ff4bae6.tar.xz | |
env.install(): clean non-empty directory after confirmation
| -rw-r--r-- | env.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -965,6 +965,7 @@ func (env *Env) install(pkg *Package) (ok bool, err error) { return } } + _ = pkg.Remove() } err = pkg.Install() |
