[hledger] updated links
This commit is contained in:
parent
de6e9fd908
commit
3f2dea0e5f
1 changed files with 4 additions and 5 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue