hello
can anyone debug these lines
cd /usr/local/scripts
./build update
./build versions | grep available
if [ $? == 0 ]
then
mail -s "update for server `hostname`" $EMAIL
else
echo -e "$YELLOW No update $RESET"
fi
echo "Please press a key - Back to main menu . . ." ; read
but hit has lock after this line ./build versions | grep available
this script will run update file and then grep available package if need to update, then send an email to admin about this