Simplify math expressions
This commit is contained in:
parent
e66425895b
commit
384148c019
1 changed files with 2 additions and 2 deletions
|
@ -100,7 +100,7 @@ RUN \
|
||||||
fileName="screens/install-try$try-$x.png"; \
|
fileName="screens/install-try$try-$x.png"; \
|
||||||
import -window root "$fileName"; \
|
import -window root "$fileName"; \
|
||||||
tiv -w 10000 -h 10000 "$fileName"; \
|
tiv -w 10000 -h 10000 "$fileName"; \
|
||||||
x=$(bash -c "declare -i x=$x+1; echo "'$x'); \
|
x="$(expr "$x" + 1)"; \
|
||||||
echo $x; \
|
echo $x; \
|
||||||
sleep 1; \
|
sleep 1; \
|
||||||
done; \
|
done; \
|
||||||
|
@ -151,7 +151,7 @@ RUN \
|
||||||
do \
|
do \
|
||||||
echo "Restarting Installation"; \
|
echo "Restarting Installation"; \
|
||||||
# Increase counter
|
# Increase counter
|
||||||
y=$(bash -c "declare -i y=$y+1; echo "'$y'); \
|
y="$(expr "$y" + 1)"; \
|
||||||
done && \
|
done && \
|
||||||
kill -9 "$displayPID" > /dev/null 2>&1; \
|
kill -9 "$displayPID" > /dev/null 2>&1; \
|
||||||
# Delete unfinished installations
|
# Delete unfinished installations
|
||||||
|
|
Loading…
Reference in a new issue