From b07b446fa59f4cbc065700d8ad0b9e00924e999c Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Fri, 26 Apr 2024 15:13:27 +0200 Subject: [PATCH] fixes --- cd.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cd.sh b/cd.sh index e1d5b05..819404e 100644 --- a/cd.sh +++ b/cd.sh @@ -25,7 +25,7 @@ CD_STEP=0 function cd_step { if [ "${1}" ] ; then - ((CD_STEP++)) + CD_STEP=$((CD_STEP+1)) echo " ↕ ${CD_STEP} ↔ ${1} " @@ -54,6 +54,9 @@ local text='' || exit } +function cd_main { + cd_set_dns + cd_step "configure package manager" echo -n "\ Acquire::Check-Valid-Until True; @@ -115,9 +118,6 @@ apt-get clean \ cd_step "bootstrap" "${DIRECTORY}/bootstrap.sh" - -function cd_main { - cd_set_dns } cd_main