You are not logged in.

#1 2015-11-08 22:51:51

D314
Member
Registered: 2015-11-08
Posts: 5

Best way to run install scripts that depend on lsb_release

For example, the script found at:
https://github.com/nodesource/distribut … structions
Runs lsb_release to find the distribution and install accordingly.

I get:
"Your distribution, identified as "Hydrogen", is not currently supported..."

What I did is change hydrogen to jessie in the lsb-release file and worked fine, but I don't know what would be the correct way.

Should I change it back to hydrogen? What problems could I have if I leave it as jessie?
Is it correct to assume that if the script works for jessie it will work for hydrogen?

Thanks.

Last edited by D314 (2015-11-08 22:52:01)

Offline

#2 2015-11-09 07:31:41

ohnonot
...again
Registered: 2015-09-29
Posts: 5,568

Re: Best way to run install scripts that depend on lsb_release

i'm pretty sure you can change it to jessie.
i'm almost 100% positive that one of the devs suggested exactly that in a recent thread.


Give to COVAX! Here or here. (explanation)
My Repos: notabug | framagit

Offline

#3 2015-11-09 08:04:10

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Best way to run install scripts that depend on lsb_release

ohnonot wrote:

i'm pretty sure you can change it to jessie.
i'm almost 100% positive that one of the devs suggested exactly that in a recent thread.

@twoion recommended purging the bunsen-os-release package in this post:
https://forums.bunsenlabs.org/viewtopic … d=818#p818


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#4 2015-11-09 19:27:37

nobody0
Disabled account
Registered: 2015-09-29
Posts: 664

Re: Best way to run install scripts that depend on lsb_release

D314 wrote:

...Runs lsb_release to find the distribution and install accordingly.

I get:
"Your distribution, identified as "Hydrogen", is not currently supported..."

What I did is change hydrogen to jessie in the lsb-release file and worked fine,..

...What problems could I have if I leave it as jessie?

None.

Offline

Board footer

Powered by FluxBB