Skip to content

Commit

Permalink
setup-util: better APT_REPO http check formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Nov 30, 2024
1 parent ad5887c commit db0187d
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions commands/setup-util
Original file line number Diff line number Diff line change
Expand Up @@ -1350,12 +1350,7 @@ function setup_util() (
fi
if [[ $repo == *'http:'* ]]; then
# warn
cat <<-EOF >/dev/stderr
$(echo-style --notice="APT_REPO contained " --code="http:" --notice=" instead of " --code="https:" --notice=" this may be an oversight.")
APT: ${packages[*]}
APT_REPO: $repo
EOF
echo-style --notice1='APT_REPO ' --code-notice1="$repo" --notice1=' contained ' --code-notice1='http:' --notice1=' instead of ' --code-notice1='https:' --notice1=' this may be an oversight. Packages affected: ' --code-notice1="${packages[*]}" >/dev/stderr
fi
fi

Expand Down

0 comments on commit db0187d

Please sign in to comment.