--- amdgpu-pro-19.30-844693-sle-15~a/amdgpu-pro-install 2019-07-16 08:49:24.000000000 +0200 +++ amdgpu-pro-19.30-844693-sle-15~b/amdgpu-pro-install 2019-08-14 20:01:36.156591821 +0200 @@ -145,7 +145,7 @@ function os_release() { function yum_repo() { local repo=${REPOSITORY##*/} - if [[ "$ID" = "sle"[s,d] ]] || [[ "$ID" = "opensuse" ]]; then + if [[ "$ID" = "sle"[s,d] ]] || [[ "$ID" = "opensuse"* ]]; then echo "/etc/zypp/repos.d/$repo.repo" else echo "/etc/yum.repos.d/$repo.repo"