File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -52,16 +52,9 @@ if (!$configBranch) {
5252
5353if (($PSVersionTable.PSVersion.Major ) -lt 5 ) {
5454 # check powershell version
55- # should be deleted after Oct 1, 2019
56- If ((Get-Date ).ToUniversalTime() -ge " 2019-10-01" ) {
57- Write-Output " PowerShell 5 or later is required to run Scoop."
58- Write-Output " Upgrade PowerShell: https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell"
59- break
60- } else {
61- Write-Output " Scoop is going to stop supporting old version of PowerShell."
62- Write-Output " Please upgrade to PowerShell 5 or later version before Oct 1, 2019 UTC."
63- Write-Output " Guideline: https://docs.microsoft.com/en-us/powershell/scripting/setup/installing-windows-powershell"
64- }
55+ Write-Output " PowerShell 5 or later is required to run Scoop."
56+ Write-Output " Upgrade PowerShell: https://docs.microsoft.com/en-us/powershell/scripting/install/installing-powershell-core-on-windows"
57+ break
6558}
6659
6760function update_scoop () {
You can’t perform that action at this time.
0 commit comments