So I have a script (the code is below) and I am getting the following error.
Error:
Syntax error near unexpected token newline (line 5)
The code around this error is
Sbalert -t "Updating" -m "Downloading and installing the update. Please don't touch your device until it reboots" -d "" &
alert_id="$!"
apt-get install --only-upgrade <Whited00r 7.1 OTA>
reboot
This has been made for an iPod using bash so it may be different to the ones on desktop... And if there is another way to update a specific package that would be nice as well...