From b8eafc6280a37dd67a4a2b20552a38d8126e30ae Mon Sep 17 00:00:00 2001 From: BlueWall Date: Fri, 6 Apr 2012 22:22:55 -0400 Subject: [PATCH] More work on commands Install is working now --- OpenSim/Services/IntegrationService/PluginManager.cs | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/OpenSim/Services/IntegrationService/PluginManager.cs b/OpenSim/Services/IntegrationService/PluginManager.cs index 83e088fc8b..56875aa009 100644 --- a/OpenSim/Services/IntegrationService/PluginManager.cs +++ b/OpenSim/Services/IntegrationService/PluginManager.cs @@ -46,6 +46,7 @@ namespace OpenSim.Services.IntegrationService internal PluginManager( AddinRegistry r): base (r) { m_Registry = r; + m_Registry.Update(); } // public PluginManager(string registry_path) @@ -62,6 +63,8 @@ namespace OpenSim.Services.IntegrationService IProgressStatus ps = new ConsoleProgressStatus(true); + m_Registry.Update(ps); + string name = Addin.GetIdName(args[1]); string version = Addin.GetIdVersion(args[1]); @@ -78,7 +81,10 @@ namespace OpenSim.Services.IntegrationService if(Install(ps, pack) == true) + { + m_Registry.Update(ps); return "Install"; + } else return "Bomb"; } @@ -88,6 +94,7 @@ namespace OpenSim.Services.IntegrationService IProgressStatus ps = new ConsoleProgressStatus(true); Addin addin = m_Registry.GetAddin(args[1]); Uninstall(ps, addin.Id); + m_Registry.Rebuild(null); return; }