Skip to content

Commit

Permalink
fix (compatibility): globally-applicable repos
Browse files Browse the repository at this point in the history
  • Loading branch information
isc-tleavitt committed Nov 19, 2024
1 parent 16e0c88 commit 24ac6f5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions iris.script
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ set sc=##Class(Config.MapPackages).Create("%ALL","IPM",.pMap)
if '$Get(sc,1) do ##class(%SYSTEM.Process).Terminate(, 1)
set sc=##Class(Config.MapGlobals).Create("%ALL","%IPM.*",.pMap)
if '$Get(sc,1) do ##class(%SYSTEM.Process).Terminate(, 1)
set sc=##Class(Config.MapGlobals).Create("%ALL","IPM.Repo.*",.pMap)
if '$Get(sc,1) do ##class(%SYSTEM.Process).Terminate(, 1)
set sc=##Class(Config.MapGlobals).Create("%SYS","IPM.*",.pMap)
if '$Get(sc,1) do ##class(%SYSTEM.Process).Terminate(, 1)
set sc=##Class(Config.MapRoutines).Create("%ALL","%IPM.*",.pMap)
Expand All @@ -29,6 +31,7 @@ if '$Get(sc,1) do ##class(%SYSTEM.Process).Terminate(, 1)
zn "IPM"
set sc = ##class(%SYSTEM.OBJ).Load("/tmp/zpm.xml", "c")
if '$Get(sc,1) do ##class(%SYSTEM.Process).Terminate(, 1)
zpm "repo -reset-defaults"
zn "%SYS"
do ##class(Config.Namespaces).Delete("IPM")
do ##class(SYS.Database).Defragment(pDB("Directory"))
Expand Down

0 comments on commit 24ac6f5

Please sign in to comment.