Merge "vm: use $DISTRO_NAME instead of lsb_release"
This commit is contained in:
commit
c30f3d85ff
@ -6,7 +6,7 @@ fi
|
|||||||
set -eu
|
set -eu
|
||||||
set -o pipefail
|
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
|
# workaround for https://bugzilla.novell.com/show_bug.cgi?id=859493
|
||||||
rm -f /dev/mapper/loop*_part1
|
rm -f /dev/mapper/loop*_part1
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user