feat: add pip availability check in ensure_dependencies function
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
Some checks failed
Nix Format Check / check-format (push) Failing after 38s
This commit is contained in:
parent
9bc865e151
commit
6f2ec615ce
@ -94,6 +94,12 @@ def ensure_dependencies():
|
||||
required_packages = [
|
||||
'pyfiglet', # For ASCII art generation
|
||||
]
|
||||
|
||||
# Check if pip is available
|
||||
success, _ = run_command(['pip', '--version'])
|
||||
if not success:
|
||||
printfe("red", "Pip is required to install missing dependencies, try again after running `dotf update`")
|
||||
return False
|
||||
|
||||
missing_packages = []
|
||||
for package in required_packages:
|
||||
|
Loading…
x
Reference in New Issue
Block a user