Permalink
Browse files

Wait for quickfix in update

  • Loading branch information...
NEMS Linux
NEMS Linux committed Feb 6, 2019
1 parent 63e1bde commit 4fe6464ff57424a9ab190ee5ab31756013f1cb3d
Showing with 12 additions and 1 deletion.
  1. +12 −1 update.sh
@@ -15,7 +15,18 @@ else
((count++))
sleep 1
done


# Just in case nems-quickfix is running
quickfix=$(/usr/local/bin/nems-info quickfix)
if [[ $quickfix == 1 ]]; then
echo 'NEMS Linux is currently updating itself. Please wait...'
while [[ $quickfix == 1 ]]
do
sleep 1
quickfix=$(/usr/local/bin/nems-info quickfix)
done
fi

# Update nems-migrator
printf "Updating nems-migrator... "
cd /root/nems/nems-migrator

0 comments on commit 4fe6464

Please sign in to comment.