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