Fix shellcheck

This commit is contained in:
Darko Poljak 2020-09-11 14:19:45 +02:00
parent 6b262a61c1
commit 53b91adbd8

View file

@ -144,6 +144,7 @@ esac
if [ -f /etc/os-release ]; then
# after sles15, suse don't provide an /etc/SuSE-release anymore, but there is almost no difference between sles and opensuse leap, so call it suse
# shellcheck disable=SC1091
if (. /etc/os-release && echo "${ID_LIKE}" | grep -q '\(^\|\ \)suse\($\|\ \)')
then
echo suse