We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 2c9e027 + 09607b8 commit 93d2499Copy full SHA for 93d2499
1 file changed
install.sh
@@ -536,8 +536,10 @@ do_install() {
536
echo "Packages for SLES are currently only available for s390x"
537
exit 1
538
fi
539
+
540
+ sles_version="${dist_version##*.}"
541
sles_repo="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE"
- opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/SLE_15_SP2/security:SELinux.repo"
542
+ opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/SLE_15_SP$sles_version/security:SELinux.repo"
543
if ! curl -Ifs "$sles_repo" > /dev/null; then
544
echo "Error: Unable to curl repository file $sles_repo, is it valid?"
545
0 commit comments