Update install rerun if install script is updated

master-b-p-s
Alan Johnston 3 weeks ago committed by GitHub
parent cf3e52a2d6
commit 30d189811c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -428,6 +428,14 @@ if [ $checkout -eq 1 ]; then
FLAG=1 FLAG=1
echo "Running update script again" echo "Running update script again"
/home/pi/CubeSatSim/install /home/pi/CubeSatSim/install
exit
fi
grep 'install' /home/pi/CubeSatSim/.updated
if [[ $(grep 'install' /home/pi/CubeSatSim/.updated) ]]; then
echo "install script updated, running again"
/home/pi/CubeSatSim/install
exit
fi fi
make debug make debug

Loading…
Cancel
Save

Powered by TurnKey Linux.