imp: install: check for pip install tool
This commit is contained in:
parent
04a2ed2cd1
commit
64cd01d668
@ -998,9 +998,9 @@ if [[ $STATUSFLAG ]] ; then
|
||||
exit 0
|
||||
fi
|
||||
|
||||
# explain the planned install method
|
||||
# ensure a haskell build tool
|
||||
echo
|
||||
echo "Install method:"
|
||||
echo "Ensuring a Haskell build tool:"
|
||||
# if stack is installed, use stack
|
||||
# || [[ "$FORCE_INSTALL_STACK" == "true" ]] #--force-install-stack
|
||||
if has_stack ; then
|
||||
@ -1026,6 +1026,15 @@ else
|
||||
ensure_stack
|
||||
fi
|
||||
|
||||
# ensure a python install tool
|
||||
echo
|
||||
echo "Ensuring the Python pip install tool:"
|
||||
if has_cmd pip ; then
|
||||
echo "$(pip --version) is installed"
|
||||
else
|
||||
echo "pip was not found; python-based addons will not be installed"
|
||||
fi
|
||||
|
||||
# try installing each package that needs installing, in turn
|
||||
echo
|
||||
echo Installing hledger packages:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user