mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-07-14 00:50:52 +02:00
modulecmd: bugfix in module-addgroup()
Type of overlay is now stored with key 'overlay_name:type'. The old method was still used.
This commit is contained in:
@@ -81,7 +81,8 @@ proc module-addgroup { group } {
|
||||
set overlays_to_add {}
|
||||
foreach overlay $::UsedOverlays {
|
||||
lappend overlays_to_add $overlay
|
||||
set ol_type [lindex [split $::OverlayInfo($overlay) ":"] 0]
|
||||
set ol_type $::OverlayInfo($overlay:type)
|
||||
debug "ol_type=$ol_type"
|
||||
if { [string compare $ol_type $::ol_replacing] == 0 } {
|
||||
break
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user