From de7d504160ef62ecc63a384ec57e39bcf4432d86 Mon Sep 17 00:00:00 2001 From: clsty Date: Tue, 11 Nov 2025 15:37:01 +0800 Subject: [PATCH] Tweak position of print_os_group_id_functions --- setup | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/setup b/setup index ae0a31aa2..4ea77f2c0 100755 --- a/setup +++ b/setup @@ -59,14 +59,13 @@ case $1 in *)printf "${STY_RED}Unknown subcommand \"$1\".${STY_RST}\n";showhelp_global;exit 1;; esac ##################################################################################### +if [[ -f "${SUBCMD_DIR}/options.sh" ]]; + then source "${SUBCMD_DIR}/options.sh" +fi for function in ${print_os_group_id_functions[@]}; do $function done pause - -if [[ -f "${SUBCMD_DIR}/options.sh" ]]; - then source "${SUBCMD_DIR}/options.sh" -fi case ${SUBCMD_NAME} in install) if [[ "${SKIP_ALLGREETING}" != true ]]; then