diff options
author | Henare Degan <henare.degan@gmail.com> | 2012-09-12 08:52:41 +1000 |
---|---|---|
committer | Henare Degan <henare.degan@gmail.com> | 2012-09-12 08:52:41 +1000 |
commit | cc0c8cd35a14ff518a674a1d38ce106a93447687 (patch) | |
tree | c9613b22c7bb4027c9c6a0263988c7356ab91beb | |
parent | 01ca2913976fdab6846989814d13e6bf7f1cb253 (diff) |
Expand the glibc bug workaround to work on Ubuntu 10.04 which has the debian_version of "squeeze/sid"
See https://github.com/mysociety/alaveteli/commit/bb74b57d56416c3c272f913674e96d6a00de6d1e#commitcomment-1839727
-rw-r--r-- | Gemfile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1,5 +1,5 @@ # Work around bug in Debian Squeeze - see https://github.com/mysociety/alaveteli/pull/297#issuecomment-4101012 -if File.exist? "/etc/debian_version" and File.open("/etc/debian_version").read.strip =~ /^(squeeze|6\.0\.[45])$/ +if File.exist? "/etc/debian_version" and File.open("/etc/debian_version").read.strip =~ /^(squeeze.*|6\.0\.[45])$/ if File.exist? "/lib/libuuid.so.1" require 'dl' DL::dlopen('/lib/libuuid.so.1') |