]> git.mxchange.org Git - simgear.git/commitdiff
pkg: Remove Install from list after uninstall.
authorThomas Geymayer <tomgey@gmail.com>
Mon, 30 Jun 2014 16:34:41 +0000 (18:34 +0200)
committerThomas Geymayer <tomgey@gmail.com>
Mon, 30 Jun 2014 16:34:41 +0000 (18:34 +0200)
simgear/package/Install.cxx

index 659511ffd7cc14c0b7fcbdfcf08b7f6d8c08e1e3..c50e31d958829c334730873e47504e78c0800d7a 100644 (file)
@@ -317,6 +317,7 @@ void Install::uninstall()
 {
     Dir d(m_path);
     d.remove(true);
+    m_package->catalog()->unregisterInstall(this);
 }
 
 //------------------------------------------------------------------------------