Bug 1531: Check for packages 55/11655/2
authorbeierlm <mark.beierl@canonical.com>
Tue, 7 Dec 2021 21:02:22 +0000 (16:02 -0500)
committergarciadeblas <gerardo.garciadeblas@telefonica.com>
Mon, 21 Feb 2022 22:58:28 +0000 (23:58 +0100)
commit91c1941ac076d3c03b78034ad50cd1984413a98a
tree70878fc070f12057394269fd33943322975ce527
parent1418d8c5f4459e88500bd77f64e09f7d12b3753c
Bug 1531: Check for packages

Fixes logic to check for packages.  Originally based on dpkg -l, which could
return packages that were once installed, then removed.  Instead a new function
has been created that takes a list of packages to check and uses dpkg -L, which
will return an error if a package is not, or no longer, installed

Fixes bug 1531

Change-Id: Ie6a92a4211a0ec0ecc5b3d08166dad6c5d3a1134
Signed-off-by: beierlm <mark.beierl@canonical.com>
Signed-off-by: garciadeblas <gerardo.garciadeblas@telefonica.com>
installers/full_install_osm.sh