diff options
| author | Alex Tu <alex.tu@canonical.com> | 2019-06-24 14:07:01 +0800 |
|---|---|---|
| committer | Alex Tu <alex.tu@canonical.com> | 2019-06-24 14:22:28 +0800 |
| commit | 4120c30bbb7a5103fd5be2090ff3148fc4d05267 (patch) | |
| tree | 6f32bb09c4241bf7e792a9b07fcb0622414c90f6 | |
| parent | 1c39883fb84038c38264a10a7565929c3462909c (diff) | |
platform_meta_test: correct the way to check meta installation.
followed the merge of https://code.launchpad.net/~alextu/oem-qa-checkbox/+git/somerville-platform-meta-update/+merge/368600
| -rwxr-xr-x | bin/platform_meta_test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/platform_meta_test b/bin/platform_meta_test index f099dd9..56a6b9a 100755 --- a/bin/platform_meta_test +++ b/bin/platform_meta_test @@ -13,9 +13,9 @@ platform_tag=$(ubuntu-report show | grep DCD | awk -F'+' '{print $2}') [ -n "${platform_tag}" ] || failed "no platform tag in ubuntu-report" -dpkg -l ${platform_tag}-meta > /dev/null || failed "no platform meta be installed." +dpkg -l ${platform_tag}-meta > /dev/null || dpkg -l oem-${platform_tag}-meta > /dev/null || failed "no platform meta is installed." grep ${platform_tag} /etc/apt/sources.list.d/* > /dev/null || failed "no platform archive in source list" -echo "platform meta found" +echo "platform meta well installed" exit 0 |
