Merge pull request #53 from seemethere/remove_f27_hardcoding

Remove Fedora 27 repo hardcoding
This commit is contained in:
Eli Uriegas authored and GitHub committed 2017-12-27 16:53:16 -06:00
commit ee78a3df93
1 file changed
-17
-17
View File
@@ -422,23 +422,6 @@ do_install() {
$sh_c "$pkg_manager install -y -q $pre_reqs"
$sh_c "$config_manager --add-repo $yum_repo"
# DELETE FROM HERE
if [ "$dist_version" -eq "27" ]; then
$sh_c "sed -i 's/\\\$releasever/26/g' /etc/yum.repos.d/docker-ce.repo"
set +x
echo "=================================================================================="
echo
echo "WARNING: Hardcoding repository to use Fedora 26 repositories"
echo " You will need to update your repositories after the release of 17.12.0-ce"
echo
echo " See: https://github.com/docker/for-linux/issues/164#issuecomment-345034887"
echo
echo "=================================================================================="
sleep 10
set -x
fi
# DELETE TO HERE
if [ "$CHANNEL" != "stable" ]; then
$sh_c "$config_manager $enable_channel_flag docker-ce-$CHANNEL"
fi