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/*