fix: another init.ps1 fix

This commit is contained in:
Kitty Fangs 2024-05-07 07:54:32 +00:00
parent 74a6bbcfb2
commit 2fb12e8d0f
1 changed files with 1 additions and 1 deletions

View File

@ -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"
} }