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
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 tar xzf kubo.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

View File

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