Skip to content
Snippets Groups Projects
Commit 28c75874 authored by Bob Mottram's avatar Bob Mottram
Browse files

Better handling of install counter

parent 597dd7d8
No related branches found
No related tags found
No related merge requests found
......@@ -33,12 +33,10 @@ function increment_install_progress {
install_comment=$"1"
if [ ! "$install_counter" ]; then
if [ -f /root/.install_counter ]; then
install_counter=$(cat /root/.install_counter)
else
install_counter=0
fi
if [ -f /root/.install_counter ]; then
install_counter=$(cat /root/.install_counter)
else
install_counter=0
fi
if [ "$install_comment" ]; then
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment