pimoroni / get

Install and helper scripts for Raspbian on the Raspberry Pi
Other
9 stars 7 forks source link

Scripts on Jessie Lite #8

Closed RogueM closed 8 years ago

RogueM commented 8 years ago

Just a heads up to say the examples folders are not properly copied on Jessie Lite. I'll have a look tomorrow as my brain is too tired to do much but typing this message before it wanders into wonderland in a brief moment!

RogueM commented 8 years ago

right, the answer is simple: git s not installed by default, so will need adding to the requirements!

RogueM commented 8 years ago

It seems also that pip-3.2 is nowhere to be found in the repo, strange as that should have nothing to do with Raspbian Lite itself. I'll have to check tomorrow if that means some recent remote changes have broken the scripts further!

RogueM commented 8 years ago

right, it's simply named 'pip3' now, yikes!

RogueM commented 8 years ago

it's version 3.4 now, in /usr/lib/python3/dist-packages ... I'll check the situation on Wheezy (early Jessie) tomorrow and modify the scripts so they work on both.

Gadgetoid commented 8 years ago

Zoiks. Definitely going to need some logic tomfoolerly to accommodate the new without breaking the old. Thanks for taking a look!

RogueM commented 8 years ago

I filed a PR to fix this now. Just the unicornhat script for the time being since I have plans to roll the pkgdeplist routine in all others (might as well, since git needs adding to list).

... will test it again once posted since I had to install git to clone my repo to test, removing it to verify it got pulled should be the same but you never know :D

RogueM commented 8 years ago

right, I need to rethink this. Basically, if python3-pip is not installed yet then it will fail, although if you then retry it will work.

I think I just need to make the check a function and then call it when needed rather than set the variable at the start of the install process. Will have a look later (when my cat is not on me!)

RogueM commented 8 years ago

there you go, I think it works now (famous last words)

RogueM commented 8 years ago

it's in control now. I just need to roll the standardised template to all scripts and they'll all be fixed in one go...