Skip to content

Commit

Permalink
Update env_format_lines.sh
Browse files Browse the repository at this point in the history
Only show main app heading if app is installed, not if it is builtin.
  • Loading branch information
CLHatch committed Feb 18, 2025
1 parent 51afc6b commit 89954f6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .scripts/env_format_lines.sh
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@ env_format_lines() {
readarray -t CURRENT_ENV_LINES < <(run_script 'env_lines' "${ENV_FILE}" || true)

local -a FORMATTED_ENV_LINES=()
if [[ -n ${APPNAME} ]] && run_script 'app_is_builtin' "${APPNAME}"; then
# APPNAME is specified and builtin, output main app heading
if [[ -n ${APPNAME} ]] && run_script 'app_is_installed' "${APPNAME}"; then
# APPNAME is specified and installed, output main app heading
local HEADING_TITLE="${APPNAME}"
if run_script 'app_is_disabled' "${APPNAME}"; then
HEADING_TITLE+=' (Disabled)'
Expand Down

0 comments on commit 89954f6

Please sign in to comment.