From 97f2f6ab43d90cf532a36263c430b702c20ac16f Mon Sep 17 00:00:00 2001 From: tteckster Date: Wed, 9 Feb 2022 18:14:22 -0500 Subject: [PATCH] Update gamuntu_setup.sh --- setup/gamuntu_setup.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/setup/gamuntu_setup.sh b/setup/gamuntu_setup.sh index fc268275..4930a0a0 100644 --- a/setup/gamuntu_setup.sh +++ b/setup/gamuntu_setup.sh @@ -10,6 +10,7 @@ CROSS='\033[1;31m\xE2\x9D\x8C\033[0m' CHECKMARK='\033[0;32m\xE2\x9C\x94\033[0m' RETRY_NUM=5 RETRY_EVERY=3 +NUM=$RETRY_NUM trap die ERR trap 'die "Script interrupted."' INT @@ -105,4 +106,4 @@ systemctl daemon-reload systemctl restart $(basename $(dirname $GETTY_OVERRIDE) | sed 's/\.d//') echo -e "${CHECKMARK} \e[1;92m Cleanup... \e[0m" -rm -rf /gamuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/* \ No newline at end of file +rm -rf /gamuntu_setup.sh /var/{cache,log}/* /var/lib/apt/lists/*