iriscouch / build-couchdb

Batteries-included CouchDB build system
227 stars 36 forks source link

updated tasks/lib/distros.rb for scienfic linux #68

Closed chutsu closed 11 years ago

chutsu commented 12 years ago

Similar to this issue, there is a problem with build-couchdb/tasks/lib/distros.rb whereby it has failed to parse /etc/redhat-release file. This is because the script parses versions of Scientific Linux (pre 6.0), that has a pattern

    Scientific Linux SLF release (5.0) 

However since 6.0 they have adopted the following pattern:

    Scientific Linux release 6.2 (Carbon) 

See this