From 72bd6808baa92b874890d4410b0a569f851edcde Mon Sep 17 00:00:00 2001 From: Steve Lee Date: Thu, 25 Apr 2019 19:11:31 -0700 Subject: [PATCH] Enable building on Kali Linux --- build.psm1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.psm1 b/build.psm1 index 5f1851419c6..6e173b246f8 100644 --- a/build.psm1 +++ b/build.psm1 @@ -127,7 +127,7 @@ function Get-EnvironmentInformation $LinuxInfo = Get-Content /etc/os-release -Raw | ConvertFrom-StringData $environment += @{'LinuxInfo' = $LinuxInfo} - $environment += @{'IsDebian' = $LinuxInfo.ID -match 'debian'} + $environment += @{'IsDebian' = $LinuxInfo.ID -match 'debian' -or $LinuxInfo.ID -match 'kali'} $environment += @{'IsDebian9' = $Environment.IsDebian -and $LinuxInfo.VERSION_ID -match '9'} $environment += @{'IsUbuntu' = $LinuxInfo.ID -match 'ubuntu'} $environment += @{'IsUbuntu16' = $Environment.IsUbuntu -and $LinuxInfo.VERSION_ID -match '16.04'}