diff --git a/xCAT-server/lib/xcat/plugins/debian.pm b/xCAT-server/lib/xcat/plugins/debian.pm index 31cbbbcbf..b6826ac7d 100644 --- a/xCAT-server/lib/xcat/plugins/debian.pm +++ b/xCAT-server/lib/xcat/plugins/debian.pm @@ -476,9 +476,9 @@ sub mkinstall $pkgdir="$installroot/$os/$arch"; } - if ($arch == "x86_64") { + if ($arch eq "x86_64") { $darch = "amd64"; - } elsif ($arch == "x86") { + } elsif ($arch eq "x86") { $darch = "i386"; } else { xCAT::MsgUtils->message("S","debian.pm: Unknown arch ($arch)");