Fix shellcheck
This commit is contained in:
parent
6b262a61c1
commit
53b91adbd8
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue