u
This commit is contained in:
parent
9276b32a61
commit
f0558fc5c3
@ -43,7 +43,7 @@ testpath4=~/faronear.git/fon.git/sysconfig
|
|||||||
|
|
||||||
if [ -d $testpath0 ]
|
if [ -d $testpath0 ]
|
||||||
then
|
then
|
||||||
SourcePath=$1
|
SourcePath=$0
|
||||||
elif [ -d $testpath1 ]
|
elif [ -d $testpath1 ]
|
||||||
then
|
then
|
||||||
SourcePath=$testpath1
|
SourcePath=$testpath1
|
||||||
|
@ -9,10 +9,10 @@ testpath5=`pwd`/nixhome
|
|||||||
|
|
||||||
if [ "$1" ]
|
if [ "$1" ]
|
||||||
then
|
then
|
||||||
SourcePath=$0
|
SourcePath=$1
|
||||||
elif [ -d $testpath0 ]
|
elif [ -d $testpath0 ]
|
||||||
then
|
then
|
||||||
SourcePath=$1
|
SourcePath=$testpath0
|
||||||
elif [ -d $testpath1 ]
|
elif [ -d $testpath1 ]
|
||||||
then
|
then
|
||||||
SourcePath=$testpath1
|
SourcePath=$testpath1
|
||||||
|
@ -9,11 +9,11 @@ else
|
|||||||
if [ ! $VERSION ]
|
if [ ! $VERSION ]
|
||||||
then
|
then
|
||||||
VERSION=$defaultVERSION
|
VERSION=$defaultVERSION
|
||||||
echo Use default version $defaultVERSION
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl https://dist.ipfs.tech/kubo/v$VERSION/kubo_v$VERSION_linux-amd64.tar.gz -o kubo_v$VERSION.tgz
|
echo Download https://dist.ipfs.tech/kubo/v$VERSION/kubo_v${VERSION}_linux-amd64.tar.gz
|
||||||
|
curl https://dist.ipfs.tech/kubo/v$VERSION/kubo_v${VERSION}_linux-amd64.tar.gz -o kubo_v$VERSION.tgz
|
||||||
tar xzf kubo_v$VERSION.tgz
|
tar xzf kubo_v$VERSION.tgz
|
||||||
## install ./kubo/ipfs to /usr/local/bin/ipfs
|
## install ./kubo/ipfs to /usr/local/bin/ipfs
|
||||||
cd kubo && sudo bash install.sh
|
cd kubo && sudo bash install.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user