I recently tried to use the installation script to set up my phat beat once again but got three 'Unary operator expected' errors at various times during the scripts execution, it doesn't fail and continues with other bits it is doing but quite crucially things didn't work afterwards. I am using Raspbian OS Lite (32-bit)
I was able to get it to work properly again by executing the following commands at the terminal:
extract OS_NAME="Raspbian"extract USER_HOME="/home/pi"
I also had to install git sudo apt install git and then the script ran perfectly.
I wasn't sure if this was the best way to post this as I have already solved the issue but I wanted to share my findings so I can hopefully save someone else many hours of debugging
I recently tried to use the installation script to set up my phat beat once again but got three 'Unary operator expected' errors at various times during the scripts execution, it doesn't fail and continues with other bits it is doing but quite crucially things didn't work afterwards. I am using Raspbian OS Lite (32-bit)
I was able to get it to work properly again by executing the following commands at the terminal:
extract OS_NAME="Raspbian"
extract USER_HOME="/home/pi"
I also had to install git
sudo apt install git
and then the script ran perfectly.I wasn't sure if this was the best way to post this as I have already solved the issue but I wanted to share my findings so I can hopefully save someone else many hours of debugging