diff --git a/automatic/alldup/alldup.nuspec b/automatic/alldup/alldup.nuspec index 7c3e4a1bac5..b82e14ae0ef 100644 --- a/automatic/alldup/alldup.nuspec +++ b/automatic/alldup/alldup.nuspec @@ -3,7 +3,7 @@ alldup - 4.5.46 + 4.5.48 AllDup chocolatey-community Michael Thummerer Software Design diff --git a/automatic/alldup/legal/VERIFICATION.txt b/automatic/alldup/legal/VERIFICATION.txt index 1eb90b433c1..b8051ea28c1 100644 --- a/automatic/alldup/legal/VERIFICATION.txt +++ b/automatic/alldup/legal/VERIFICATION.txt @@ -15,6 +15,6 @@ Package can be verified like this: - Use powershell function 'Get-FileHash' - Use Chocolatey utility 'checksum.exe' - checksum32: 60F57C5B388D09E5335147589F3CB3A5AEC88A7BE2B3E5E330F13DE588F91F83 + checksum32: 3E825F7C0E7381CC8E4FA7BE1D87A9DBAEAA64E0C1B1B73C4D5DA2867C365FF1 File 'Redistribution.pdf' is from personal email communication diff --git a/automatic/alldup/update.ps1 b/automatic/alldup/update.ps1 index d93b56950d0..a081e194cef 100644 --- a/automatic/alldup/update.ps1 +++ b/automatic/alldup/update.ps1 @@ -1,4 +1,4 @@ -import-module au +import-module au $releases = 'http://www.alldup.de/en_download_alldup.php' @@ -18,8 +18,8 @@ function global:au_GetLatest { $download_page = Invoke-WebRequest -Uri $releases $re = 'alldup.*\.exe$' - $url = $download_page.links | ? href -match $re | select -First 1 -expand href - $version = $download_page.links | ? href -match "alldup_version\.php$" | select -first 1 -expand innerText + $url = $download_page.links | Where-Object href -match $re | Select-Object -First 1 -expand href + $version = $download_page.links | Where-Object href -match "alldup_version\.php$" | Select-Object -first 1 -expand innerText @{ URL32 = $url; Version = $version } }