From fd7d43c9127bb48b2063523dd725ee52ef9bce85 Mon Sep 17 00:00:00 2001 From: Dan Webb Date: Wed, 11 Dec 2024 22:20:57 +0000 Subject: [PATCH] Fix default_script_url Signed-off-by: Dan Webb --- CHANGELOG.md | 4 +--- resources/installation_script.rb | 7 +------ 2 files changed, 2 insertions(+), 9 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 288dc0e93..964349ee3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -23,6 +23,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Cleanup changelog ======= + >>>>>>> 5326caf (Update readme, and documentation folder) ## 11.8.2 - *2024-12-11* @@ -822,6 +823,3 @@ The 7.0 release includes a breaking change to package installs with version spec - [#296](https://github.com/sous-chefs/docker/issues/296) - [#297](https://github.com/sous-chefs/docker/issues/297) - [#298](https://github.com/sous-chefs/docker/issues/298) - -[@jcrobak]: https://github.com/jcrobak -[@wingrunr21]: https://github.com/wingrunr21 diff --git a/resources/installation_script.rb b/resources/installation_script.rb index 2fc8b1a0f..a9c9ee069 100644 --- a/resources/installation_script.rb +++ b/resources/installation_script.rb @@ -16,12 +16,7 @@ ######################### def default_script_url - case repo - when 'main' - 'https://get.docker.com/' - when 'test' - 'https://test.docker.com/' - end + "https://#{repo == 'main' ? 'get' : 'test'}.docker.com/" end #########