projects
/
simgear.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e6713af
)
Packages: fix extract dir cleanup on success.
author
James Turner
<zakalawe@mac.com>
Wed, 4 May 2016 21:22:34 +0000
(22:22 +0100)
committer
Roland Haeder
<roland@mxchange.org>
Sat, 13 Aug 2016 08:21:16 +0000
(10:21 +0200)
Don’t leave extract_xxxxxxx dirs in the Aircraft tree after successfully
extract the contents to the final location.
simgear/package/Install.cxx
patch
|
blob
|
history
diff --git
a/simgear/package/Install.cxx
b/simgear/package/Install.cxx
index 9b71d9f0f020a922e0589809f1e7f9485ba775ba..df569ddffeda522e25f62a0fbf47f4ab71e727f8 100644
(file)
--- a/
simgear/package/Install.cxx
+++ b/
simgear/package/Install.cxx
@@
-166,6
+166,9
@@
protected:
return;
}
+ // extract_xxxx directory is now empty, so remove it
+ m_extractPath.remove();
+
m_owner->m_revision = m_owner->package()->revision();
m_owner->writeRevisionFile();
m_owner->m_download.reset(); // so isDownloading reports false