Bug 1531: Check for packages 84/11484/2
authorbeierlm <mark.beierl@canonical.com>
Tue, 7 Dec 2021 21:02:22 +0000 (16:02 -0500)
committerbeierlm <mark.beierl@canonical.com>
Fri, 10 Dec 2021 02:15:43 +0000 (03:15 +0100)
commit2ce2b004deff32c9016afd7f8cdffff0059b981f
tree0fe1fc9f39dfc47839da58597fe6509ce8100fa4
parent05f3d9eda0076b0d6d75e6f42517d342baaff8a5
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: Id096cf969aacca62dc7783b803e7925c796e325d
Signed-off-by: beierlm <mark.beierl@canonical.com>
installers/full_install_osm.sh