mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-26 09:33:08 +02:00
modulecmd: bugfix in sub-cmd use <group>
UsedOverlays must be used instead of OverlayInfo
This commit is contained in:
@@ -1514,7 +1514,7 @@ subcommand_use() {
|
||||
if [[ ! -v GroupDepths[${arg}] ]]; then
|
||||
# this scan is required if a new group has been
|
||||
# create inside an used overlay
|
||||
scan_groups "${!OverlayInfo[@]}"
|
||||
scan_groups "${UsedOverlays[@]}"
|
||||
g_env_must_be_saved='yes'
|
||||
fi
|
||||
if [[ -n ${GroupDepths[${arg}]} ]]; then
|
||||
|
||||
Reference in New Issue
Block a user