mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-24 02:44:25 +03:00
install: specify latest hledger-lib when installing 3rd party addons
We use stackage lts, which may not have the hledger-lib they require. [ci skip]
This commit is contained in:
parent
d710bfc7f9
commit
a0c9c3534b
@ -937,22 +937,22 @@ fi
|
|||||||
# hledger-lib, in case their bounds have not been updated yet.
|
# hledger-lib, in case their bounds have not been updated yet.
|
||||||
if [[ $(cmd_version hledger-diff) < $HLEDGER_DIFF_VERSION ]]; then
|
if [[ $(cmd_version hledger-diff) < $HLEDGER_DIFF_VERSION ]]; then
|
||||||
echo Installing hledger-diff
|
echo Installing hledger-diff
|
||||||
try_install hledger-diff-$HLEDGER_DIFF_VERSION #hledger-lib-$HLEDGER_LIB_VERSION
|
try_install hledger-diff-$HLEDGER_DIFF_VERSION hledger-lib-$HLEDGER_LIB_VERSION
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
if [[ $(cmd_version hledger-iadd) < $HLEDGER_IADD_VERSION ]]; then
|
if [[ $(cmd_version hledger-iadd) < $HLEDGER_IADD_VERSION ]]; then
|
||||||
echo Installing hledger-iadd
|
echo Installing hledger-iadd
|
||||||
try_install hledger-iadd-$HLEDGER_IADD_VERSION #hledger-lib-$HLEDGER_LIB_VERSION
|
try_install hledger-iadd-$HLEDGER_IADD_VERSION hledger-lib-$HLEDGER_LIB_VERSION
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
if [[ $(cmd_version hledger-interest) < $HLEDGER_INTEREST_VERSION ]]; then
|
if [[ $(cmd_version hledger-interest) < $HLEDGER_INTEREST_VERSION ]]; then
|
||||||
echo Installing hledger-interest
|
echo Installing hledger-interest
|
||||||
try_install hledger-interest-$HLEDGER_INTEREST_VERSION #hledger-lib-$HLEDGER_LIB_VERSION
|
try_install hledger-interest-$HLEDGER_INTEREST_VERSION hledger-lib-$HLEDGER_LIB_VERSION
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
if [[ $(cmd_version hledger-irr) < $HLEDGER_IRR_VERSION ]]; then
|
if [[ $(cmd_version hledger-irr) < $HLEDGER_IRR_VERSION ]]; then
|
||||||
echo Installing hledger-irr
|
echo Installing hledger-irr
|
||||||
try_install hledger-irr-$HLEDGER_IRR_VERSION #hledger-lib-$HLEDGER_LIB_VERSION
|
try_install hledger-irr-$HLEDGER_IRR_VERSION hledger-lib-$HLEDGER_LIB_VERSION
|
||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
echo ----------
|
echo ----------
|
||||||
|
Loading…
Reference in New Issue
Block a user