install: map debian_version 9.X to debian stretch without lsb_release
Signed-off-by: Victor Vieux <victorvieux@gmail.com>
This commit is contained in:
parent
bce494f7a2
commit
f8360d002d
1 changed files with 3 additions and 0 deletions
|
@ -366,6 +366,9 @@ do_install() {
|
|||
debian|raspbian)
|
||||
dist_version="$(cat /etc/debian_version | sed 's/\/.*//' | sed 's/\..*//')"
|
||||
case "$dist_version" in
|
||||
9)
|
||||
dist_version="stretch"
|
||||
;;
|
||||
8)
|
||||
dist_version="jessie"
|
||||
;;
|
||||
|
|
Loading…
Reference in a new issue