mirror of
https://github.com/docker/docker-install.git
synced 2026-11-20 10:03:11 +03:00
SLES: remove unused rootless_pkg_version
This variable was introduced in63fb2060c9, but was later refactored inab03892649aligned the installation steps for SLES with the other distros (using the version of the "docker-ce" package itself, as those versions always match). This patch removes the unused rootless_pkg_version variable, and the code to resolve that version. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
1 file changed
-4
@@ -599,10 +599,6 @@ do_install() {
|
||||
# It's okay for cli_pkg_version to be blank, since older versions don't support a cli package
|
||||
cli_pkg_version="$($sh_c "$search_command")"
|
||||
pkg_version="-$pkg_version"
|
||||
|
||||
search_command="zypper search -s --match-exact 'docker-ce-rootless-extras' | grep '$pkg_pattern' | tail -1 | awk '{print \$6}'"
|
||||
rootless_pkg_version="$($sh_c "$search_command")"
|
||||
rootless_pkg_version="-$rootless_pkg_version"
|
||||
fi
|
||||
fi
|
||||
(
|
||||
|
||||
Reference in new issue
Block a user