[hledger] updated links

This commit is contained in:
Gwenhael Le Moine 2024-06-28 09:46:58 +02:00
parent de6e9fd908
commit 3f2dea0e5f
No known key found for this signature in database
GPG key ID: FDFE3669426707A7

View file

@ -19,9 +19,9 @@ mkdir -p $REPOSITORY
echo $ARCH | grep -q 64 && SRC_ARCH=x64
DOCS="CHANGES.md CONTRIBUTING.md CREDITS.md LICENSE README.md"
[ ! -e $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.zip ] && \
wget -c https://github.com/simonmichael/hledger/releases/download/${VERSION}/hledger-linux-${SRC_ARCH}.zip \
-O $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.zip
[ ! -e $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.tar.gz ] && \
wget -c https://github.com/simonmichael/hledger/releases/download/${VERSION}/hledger-linux-${SRC_ARCH}.tar.gz \
-O $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.tar.gz
for d in $DOCS; do
[ ! -e $REPOSITORY/${d}.${VERSION} ] && \
wget -c https://raw.githubusercontent.com/simonmichael/hledger/${VERSION}/${d} \
@ -31,8 +31,7 @@ rm -fr $PKG
mkdir -p $PKG$PREFIX/bin
cd $PKG$PREFIX/bin
unzip $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.zip
tar xvf hledger-linux-x64.tar && rm hledger-linux-x64.tar
tar xvf $REPOSITORY/hledger-linux-${SRC_ARCH}-${VERSION}.tar.gz
# mv hledger-linux-${SRC_ARCH} hledger
# mv hledger-ui-linux-${SRC_ARCH} hledger-ui
# mv hledger-web-linux-${SRC_ARCH} hledger-web