Variable missing $

This commit is contained in:
Dan Schaper 2016-01-25 02:31:03 -08:00
parent 32389e4ab8
commit e99be28a73

View file

@ -305,7 +305,7 @@ checkForDependencies(){
updatesToInstall=$(sudo apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst) & spinner $! updatesToInstall=$(sudo apt-get -s -o Debug::NoLocking=true upgrade | grep -c ^Inst) & spinner $!
echo " done!" echo " done!"
if [ updatesToInstall > 0 ]; then if [ $updatesToInstall > 0 ]; then
echo "::: There are $updatesToInstall updates availible for your pi!" echo "::: There are $updatesToInstall updates availible for your pi!"
echo "::: Please consider running 'sudo apt-get update', followed by 'sudo apt-get upgrade'" echo "::: Please consider running 'sudo apt-get update', followed by 'sudo apt-get upgrade'"
echo "::: after pi-hole has finished installing." echo "::: after pi-hole has finished installing."