Commit d547e974 authored by patrick's avatar patrick
Browse files

import only once

parent 1c608df0
......@@ -35,12 +35,12 @@ main_menu() {
"3") check_base && config_base_menu
;;
"4") check_base && {
import ${LIBDIR}/util-config.sh
type edit_configs &>/dev/null || import ${LIBDIR}/util-config.sh
edit_configs
}
;;
"5") check_base && {
import ${LIBDIR}/util-advanced.sh
type advanced_menu &>/dev/null || import ${LIBDIR}/util-advanced.sh
advanced_menu
}
;;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment