Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'Unary operator expected' when running phatbeat install script #40

Closed
Mr-Chimp opened this issue Oct 15, 2022 · 0 comments
Closed

'Unary operator expected' when running phatbeat install script #40

Mr-Chimp opened this issue Oct 15, 2022 · 0 comments

Comments

@Mr-Chimp
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant