-
-
Notifications
You must be signed in to change notification settings - Fork 822
Open
Description
System Details
- posh-git version/path: 0.7.3.1
- PowerShell version: 5.1.26100.2161
- Git version: 2.47.1
- Operating system name and version: Win 11 Pro 24H2 26100.2314
Issue Description
The choco package for poshgit has a dependency on another choco page "git", but I already installed Git using winget.
- I was using
git
when I first ranchoco install poshgit
. Because I happened to be using the git binary at the time, your choco package installation failed. - Later I was not using
git
and thenchoco install poshgit
actually worked, but now I have two package management systems that believe they are managing mygit
installation (winget and choco).
Perhaps you should not have an explicit dependency on the choco page "git". Instead, your script might simply check for an installation of "git" and only attempt to install the choco package if git was not previously installed.
vdwtanner
Metadata
Metadata
Assignees
Labels
No labels