HyperPixel4 install script hangs


The script at https://get.pimoroni.com/hyperpixel4 hangs during the finalising stage.


The problem is caused by line 1100 which is trying to remove temporary files. Some files are protected and the shell is asking for permission to remove the file.

The solution is the following patch to force file removal with the -f switch.

<         cd $installdir && rm -r $installdir/$gitclonedir &> /dev/null
>         cd $installdir && rm -rf $installdir/$gitclonedir &> /dev/null