From 34e296acd67a0bba834392ea054d91f0dce7e3a2 Mon Sep 17 00:00:00 2001
From: Michael Kriese <michael.kriese@visualon.de>
Date: Mon, 20 Nov 2023 10:54:57 +0100
Subject: [PATCH 1/3] fix start service when already exists

---
 tools/chocolateyInstall.ps1 | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/tools/chocolateyInstall.ps1 b/tools/chocolateyInstall.ps1
index d68d27f..fe6a4aa 100644
--- a/tools/chocolateyInstall.ps1
+++ b/tools/chocolateyInstall.ps1
@@ -77,12 +77,12 @@ If (Test-OurOldDockerd) {
 If (-not (Test-OurDockerd)) {
     $scArgs = "create docker binpath= `"$dockerdPath --run-service`" start= auto displayname= `"$($env:ChocolateyPackageTitle)`""
     Start-ChocolateyProcessAsAdmin -Statements "$scArgs" "C:\Windows\System32\sc.exe"
+}
 
-    If (!$pp.StartService) {
-        Write-Host "$($env:ChocolateyPackageTitle) service created, start with: `sc start docker` "
-    }
-    Else {
-        Write-output "Starting docker service..."
-        Start-ChocolateyProcessAsAdmin -Statements "start docker" "C:\Windows\System32\sc.exe"
-    }
+If (!$pp.StartService) {
+    Write-Host "$($env:ChocolateyPackageTitle) service created, start with: `sc start docker` "
+}
+Else {
+    Write-output "Starting docker service..."
+    Start-ChocolateyProcessAsAdmin -Statements "start docker" "C:\Windows\System32\sc.exe"
 }

From 0371bc5534f00363a2a3b72d4dd9436bfdc17422 Mon Sep 17 00:00:00 2001
From: Michael Kriese <michael.kriese@visualon.de>
Date: Mon, 20 Nov 2023 10:56:18 +0100
Subject: [PATCH 2/3] bunp version

---
 docker-engine.nuspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker-engine.nuspec b/docker-engine.nuspec
index fe647dd..3299b2a 100644
--- a/docker-engine.nuspec
+++ b/docker-engine.nuspec
@@ -6,7 +6,7 @@
     <metadata>
         <!-- == PACKAGE SPECIFIC SECTION == -->
         <id>docker-engine</id>
-        <version>24.0.7</version>
+        <version>24.0.7.1</version>
         <packageSourceUrl>https://github.com/AJDurant/choco-docker-engine</packageSourceUrl>
         <owners>AJDurant</owners>
         <!-- ============================== -->

From 73dcb22413ab29f283c004e779f477062f157941 Mon Sep 17 00:00:00 2001
From: Andy Durant <andy@ajdurant.co.uk>
Date: Fri, 1 Dec 2023 10:33:49 +0000
Subject: [PATCH 3/3] Update package fix version

---
 docker-engine.nuspec | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/docker-engine.nuspec b/docker-engine.nuspec
index 3299b2a..fba7c1f 100644
--- a/docker-engine.nuspec
+++ b/docker-engine.nuspec
@@ -6,7 +6,7 @@
     <metadata>
         <!-- == PACKAGE SPECIFIC SECTION == -->
         <id>docker-engine</id>
-        <version>24.0.7.1</version>
+        <version>24.0.7.20231201</version>
         <packageSourceUrl>https://github.com/AJDurant/choco-docker-engine</packageSourceUrl>
         <owners>AJDurant</owners>
         <!-- ============================== -->