[Bio-linux-dev] upgrade_to_8.sh

Steve Moss gawbul at gmail.com
Sun Aug 3 17:09:57 EDT 2014


Dear Tim,

I was looking through the upgrade_to_8.sh script and noticed you use the
PYVERS function to check the version of the operating system. I wondered
what the rationale was behind that? Could there be any cases where people
who upgrade their python version pre-14.04 pass the test for 14.04 when
they shouldn't?

Had you thought about checking /etc/debian_version instead? Precise lists
wheezy/sid, where as Trusty lists jessie/sid. You could also parse the
output of lsb_release - d? e.g. lsb_release -d | cut -d " " -f 2 gives
14.04.1.

Cheers,

Steve
-- 

Steve Moss
about.me/gawbul
[image: Steve Moss on about.me]
  <http://about.me/gawbul>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.bioinformatics.org/pipermail/bio-linux-devel/attachments/20140803/cdca006c/attachment.html>


More information about the Bio-linux-devel mailing list