Merge "vm: use $DISTRO_NAME instead of lsb_release"

This commit is contained in:
Jenkins 2015-05-15 17:40:40 +00:00 committed by Gerrit Code Review
commit c30f3d85ff

View File

@ -6,7 +6,7 @@ fi
set -eu
set -o pipefail
if [ "openSUSE project" = "$(lsb_release -is)" ]; then
if [ $DISTRO_NAME = 'opensuse' ] ; then
# workaround for https://bugzilla.novell.com/show_bug.cgi?id=859493
rm -f /dev/mapper/loop*_part1
fi