Fixed position tracking
This commit is contained in:
parent
effa8607dd
commit
63a7ce1b92
|
@ -1,6 +1,6 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
INSTALLERVERSION="1.02.01"
|
INSTALLERVERSION="1.02.02"
|
||||||
|
|
||||||
if [[ $(whoami) != "root" ]]; then
|
if [[ $(whoami) != "root" ]]; then
|
||||||
echo "You must be root to run this script!"
|
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
|
if compareVersions "$INSTALLERVERSION" "$NEWVERSION" || [[ $SELF_UPDATED == 1 ]]; then
|
||||||
downloadUpdate
|
downloadUpdate
|
||||||
fi
|
fi
|
||||||
|
((p++))
|
||||||
|
echo "$p" > position.temp
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ $p -lt 4 ]]; then
|
if [[ $p -lt 4 ]]; then
|
||||||
|
|
Loading…
Reference in New Issue