fix: another init.ps1 fix
This commit is contained in:
parent
74a6bbcfb2
commit
2fb12e8d0f
2
init.ps1
2
init.ps1
|
@ -4,7 +4,7 @@
|
||||||
# Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://stash.firekitten.net/kittyfangs/dotfiles/raw/branch/main/init.ps1'))
|
# Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString('https://stash.firekitten.net/kittyfangs/dotfiles/raw/branch/main/init.ps1'))
|
||||||
|
|
||||||
## Make sure we have git
|
## Make sure we have git
|
||||||
if ((Get-Command -Type Application -ErrorAction SilentlyContinue git) -ne $null)
|
if ((Get-Command -Type Application -ErrorAction SilentlyContinue git) -eq $null)
|
||||||
{
|
{
|
||||||
Write-Host "Please install git first"
|
Write-Host "Please install git first"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue