Skip to content

Commit 98c1df4

Browse files
authored
Merge pull request #3637 from joolswills/config_fix
setup - only show enabled modules in config section
2 parents 47c7f13 + 51a035d commit 98c1df4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scriptmodules/admin/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,7 @@ function config_gui_setup() {
513513
local id
514514
for id in "${__mod_id[@]}"; do
515515
# show all configuration modules and any installed packages with a gui function
516-
if [[ "${__mod_info[$id/section]}" == "config" ]] || rp_isInstalled "$id" && fnExists "gui_$id"; then
516+
if [[ "${__mod_info[$id/section]}" == "config" ]] || rp_isInstalled "$id" && rp_isEnabled "$id" && fnExists "gui_$id"; then
517517
options+=("${__mod_idx[$id]}" "$id - ${__mod_info[$id/desc]}" "${__mod_idx[$id]} ${__mod_info[$id/desc]}")
518518
fi
519519
done

0 commit comments

Comments
 (0)