Fixed position tracking

This commit is contained in:
ZAKS Web 2025-05-07 08:41:44 +02:00
parent effa8607dd
commit 63a7ce1b92
2 changed files with 4 additions and 2 deletions

View File

@ -1 +1 @@
1.02.01
1.02.02

View File

@ -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