From 07eee0fc1c6b8f5b5f0ef3b71b944b7257a554ec Mon Sep 17 00:00:00 2001 From: yorickdowne <71337066+yorickdowne@users.noreply.github.com> Date: Wed, 10 Apr 2024 05:08:05 -0400 Subject: [PATCH] Earlier check for snap (#1799) --- ethd | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ethd b/ethd index d4437506..aec23d70 100755 --- a/ethd +++ b/ethd @@ -236,7 +236,6 @@ install-bash-completions() { install() { - check_for_snap read -rp "This will attempt to install Docker and make your user part of the docker group. Do you wish to \ continue? (no/yes) " yn @@ -1301,7 +1300,6 @@ reset to defaults." unset ETHDSECUNDO unset GITEXITCODE - check_for_snap if [ "${__dirty}" -eq 1 ]; then echo echo "WARNING" @@ -2991,7 +2989,6 @@ check_legacy() { } config() { - check_for_snap # Do not track changes to ext-network.yml ${__as_owner} git update-index --assume-unchanged ext-network.yml # Create ENV file if needed @@ -3372,6 +3369,8 @@ handle_root determine_distro prep_conffiles +check_for_snap + # Don't check for Docker before it's installed if [ "$__command" = "install" ]; then $__command "$@"