install: map debian_version 9.X to debian stretch

Signed-off-by: Felix Abecassis <fabecassis@nvidia.com>
This commit is contained in:
Felix Abecassis 2017-01-26 10:51:08 -08:00
parent fe5f49685d
commit ac3d74b0b4

View file

@ -178,6 +178,9 @@ check_forked() {
lsb_dist=debian
dist_version="$(cat /etc/debian_version | sed 's/\/.*//' | sed 's/\..*//')"
case "$dist_version" in
9)
dist_version="stretch"
;;
8|'Kali Linux 2')
dist_version="jessie"
;;