mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
Adds SLES 15-SP4 support
Signed-off-by: Prabhav Thali <Prabhav.Thali1@ibm.com>
This commit is contained in:
1 parent
ea9a00694b
commit
4d8fdb9633
1 file changed
+7
-2
+7
-2
@@ -558,9 +558,14 @@ do_install() {
|
||||
exit 1
|
||||
fi
|
||||
|
||||
sles_version="${dist_version##*.}"
|
||||
sles_repo="$DOWNLOAD_URL/linux/$lsb_dist/$REPO_FILE"
|
||||
opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/SLE_15_SP$sles_version/security:SELinux.repo"
|
||||
if [ "$dist_version" = "15.3" ]; then
|
||||
sles_version="SLE_15_SP3"
|
||||
else
|
||||
sles_minor_version="${dist_version##*.}"
|
||||
sles_version="15.$sles_minor_version"
|
||||
fi
|
||||
opensuse_repo="https://download.opensuse.org/repositories/security:SELinux/$sles_version/security:SELinux.repo"
|
||||
if ! curl -Ifs "$sles_repo" > /dev/null; then
|
||||
echo "Error: Unable to curl repository file $sles_repo, is it valid?"
|
||||
exit 1
|
||||
|
||||
Reference in new issue
Block a user