Skip to content

Commit

Permalink
Missed a few uppercase Docker Compose
Browse files Browse the repository at this point in the history
  • Loading branch information
yorickdowne committed Oct 20, 2023
1 parent cd12e86 commit 7220159
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions ethd
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ upgrade_compose() {
${__auto_sudo} apt-get update && ${__auto_sudo} apt-get install -y ca-certificates curl gnupg lsb-release
__major_version=$(lsb_release -r | cut -d: -f2 | sed s/'^\t'// | cut -d. -f1)
if [ "${__major_version}" -lt 20 ]; then
echo "This script cannot update compose on Ubuntu ${__major_version}. Consider upgrading to 22.04 or 20.04"
echo "This script cannot update Docker Compose on Ubuntu ${__major_version}. Consider upgrading to 22.04 or 20.04"
exit 0
fi
${__auto_sudo} mkdir -p /etc/apt/keyrings
Expand All @@ -128,7 +128,7 @@ upgrade_compose() {
${__auto_sudo} apt-get update && ${__auto_sudo} apt-get -y install ca-certificates curl gnupg lsb-release
__major_version=$(lsb_release -r | cut -f2)
if [ "${__major_version}" -lt 10 ]; then
echo "This script cannot update compose on Debian ${__major_version}. Consider upgrading to 11 or 12."
echo "This script cannot update Docker Compose on Debian ${__major_version}. Consider upgrading to 11 or 12."
exit 0
fi
${__auto_sudo} mkdir -p /etc/apt/keyrings
Expand All @@ -152,7 +152,7 @@ upgrade_compose() {
${__auto_sudo} apt-get remove -y docker-compose
echo "Removed docker-compose"
else
echo "This script does not know how to update compose on $__distro"
echo "This script does not know how to update Docker Compose on $__distro"
fi
}

Expand Down Expand Up @@ -2784,7 +2784,7 @@ determine_distro
handle_root
prep_conffiles

# Don't check for docker before it's installed
# Don't check for Docker before it's installed
if [ "$command" = "install" ]; then
$command "$@"
exit "$?"
Expand Down Expand Up @@ -2821,7 +2821,7 @@ check_disk_space

if [ "${__compose_upgraded}" -eq 1 ]; then
echo
echo "You updated compose to V2."
echo "You updated Docker Compose to V2."
echo "The \"docker-compose\" command is gone and replaced with \"docker compose\"."
echo "You can create yourself an alias for \"docker-compose\"."
echo
Expand Down

0 comments on commit 7220159

Please sign in to comment.