This commit is contained in:
陆柯 2022-12-26 18:02:25 +08:00
parent 45edb0c583
commit c249423236
2 changed files with 2 additions and 2 deletions

View File

@ -13,7 +13,7 @@ else
fi
fi
curl https://dist.ipfs.tech/kubo/v0.16.0/kubo_$VERSION_linux-amd64.tar.gz -o kubo.tgz
curl https://dist.ipfs.tech/kubo/v$VERSION/kubo_$VERSION_linux-amd64.tar.gz -o kubo.tgz
tar xzf kubo.tgz
## install ./kubo/ipfs to /usr/local/bin/ipfs
cd kubo && sudo bash install.sh

View File

@ -2,7 +2,7 @@ if [ $1 ]
then
NewHostname=$1
else
echo "=== Set <<hostname>> or leave blank for no change"
echo "=== Set <hostname> or <leave blank> for no change"
read -p ">>> " NewHostname
fi