From 3b1d4440770fbb174d8ad878befaf978048fbe48 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Wed, 8 Jan 2014 15:16:18 -0500 Subject: [PATCH] Fix detection of debian for some ubuntu installations --- xCAT-server/lib/perl/xCAT/IPMI.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xCAT-server/lib/perl/xCAT/IPMI.pm b/xCAT-server/lib/perl/xCAT/IPMI.pm index 4c4140ea6..9252005ca 100644 --- a/xCAT-server/lib/perl/xCAT/IPMI.pm +++ b/xCAT-server/lib/perl/xCAT/IPMI.pm @@ -48,7 +48,7 @@ my %tabooseq; #TODO: this is a global which means one taboo in the whole set cau my $maxpending; #determined dynamically based on rcvbuf detection my $ipmi2support; -if ( -f "/etc/debian_release" ){ +if ( -f "/etc/debian_release" or -f "/etc/debian_version"){ $ipmi2support = eval { require Digest::SHA; Digest::SHA->import(qw/sha1/);