HyperPixel4 install script hangs


#1

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


#2

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.

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