2014-05-19, 18:12
Seems to be a problem with OpenELEC curl in 4.0.1+ when communicating with github, I don't know a solution so you'll need to find another way to get the script on to the Pi. Save it on your PC and copy it across using Samba would be one option.
Edit: Ah OK, curl on OpenELEC (v7.36.0) isn't following the github redirect, whereas curl on Ubuntu - v7.32.0 - does follow the redirect, so maybe a recent change in curl to not follow redirects by default.
Adding "-L" will cause OE curl to follow the redirects, or just try downloading directly from this url instead which is where github redirects to:
I've updated the original post with the new direct github url, thanks for the heads up.
Edit: Ah OK, curl on OpenELEC (v7.36.0) isn't following the github redirect, whereas curl on Ubuntu - v7.32.0 - does follow the redirect, so maybe a recent change in curl to not follow redirects by default.
Adding "-L" will cause OE curl to follow the redirects, or just try downloading directly from this url instead which is where github redirects to:
Code:
curl https://raw.githubusercontent.com/MilhouseVH/texturecache.py/master/texturecache.py -o texturecach.py
I've updated the original post with the new direct github url, thanks for the heads up.