New install script updated for github

This commit is contained in:
Eric Coissac
2024-07-29 14:35:21 +02:00
parent 2247c3bc0a
commit bc1aaaf7d9
3 changed files with 10 additions and 8 deletions

View File

@ -4,7 +4,7 @@ INSTALL_DIR="/usr/local"
OBITOOLS_PREFIX=""
# default values
URL="https://go.dev/dl/"
OBIURL4="https://git.metabarcoding.org/obitools/obitools4/obitools4/-/archive/master/obitools4-master.tar.gz"
OBIURL4="https://github.com/metabarcoding/obitools4/archive/refs/heads/master.zip"
INSTALL_DIR="/usr/local"
OBITOOLS_PREFIX=""
@ -106,8 +106,10 @@ curl "$GOURL" \
PATH="$(pwd)/go/bin:$PATH"
export PATH
curl -L "$OBIURL4" \
| tar zxf -
curl -L "$OBIURL4" > master.zip
unzip master.zip
echo "Install OBITOOLS from : $OBIURL4"
cd obitools4-master || exit