Fix check packages command
The dpkg -l command always exits with 0, we should use the -s option instead that exits with 1 if the package is not installed. Change-Id: I656b111b77b637a10c9a94fd3880aee377c166f1
This commit is contained in:
parent
d804de86b1
commit
d75a07ccb2
@ -38,7 +38,7 @@ case ${ID,,} in
|
||||
OS_FAMILY="Debian"
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
INSTALLER_CMD="sudo -H -E apt-get -y install"
|
||||
CHECK_CMD="dpkg -l"
|
||||
CHECK_CMD="dpkg -s"
|
||||
PKG_MAP=(
|
||||
[python3]=python3-minimal
|
||||
[python3-devel]=libpython3-dev
|
||||
|
Loading…
Reference in New Issue
Block a user