From 63a7ce1b92a3ae292c31a162282cfbca1a91d2ad Mon Sep 17 00:00:00 2001 From: Ze'ev Schurmann Date: Wed, 7 May 2025 08:41:44 +0200 Subject: [PATCH] Fixed position tracking --- VERSION | 2 +- debian-installer.sh | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/VERSION b/VERSION index ad456f8..5cc4789 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.02.01 +1.02.02 diff --git a/debian-installer.sh b/debian-installer.sh index 30b8064..1f95e34 100644 --- a/debian-installer.sh +++ b/debian-installer.sh @@ -1,6 +1,6 @@ #!/bin/bash -INSTALLERVERSION="1.02.01" +INSTALLERVERSION="1.02.02" if [[ $(whoami) != "root" ]]; then echo "You must be root to run this script!" @@ -1110,6 +1110,8 @@ if [[ $p -lt 3 ]]; then if compareVersions "$INSTALLERVERSION" "$NEWVERSION" || [[ $SELF_UPDATED == 1 ]]; then downloadUpdate fi + ((p++)) + echo "$p" > position.temp fi if [[ $p -lt 4 ]]; then