Skip to content

Commit

Permalink
Update env_update.sh
Browse files Browse the repository at this point in the history
Add `## APPNAME (Disabled)` headings for disabled apps
  • Loading branch information
CLHatch committed Feb 4, 2025
1 parent 0196c06 commit bd22538
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .scripts/env_update.sh
Original file line number Diff line number Diff line change
Expand Up @@ -107,9 +107,9 @@ env_update() {
local HEADING_FORMAT

HEADING_FORMAT="${HEADING_FORMAT_BUILTIN}"
#if xxx
# HEADING_FORMAT="${HEADING_FORMAT_DISABLED}"
#fi
if run_script 'app_is_is_disabled' "${LAST_APPNAME-}"
HEADING_FORMAT="${HEADING_FORMAT_DISABLED}"
fi
if [[ -n ${ENV_VARS_BUILTIN-} ]]; then
local HEADING
# shellcheck disable=SC2059 # ${!HEADING_FORMAT} contains a printf format string
Expand Down

0 comments on commit bd22538

Please sign in to comment.