ipfs-update_v1.6.0 & ipfs 0.7.0
This commit is contained in:
parent
44c681c31a
commit
b2a4010d00
|
@ -41,9 +41,9 @@ isLAN=$(echo $myIP | grep -E "/(^127\.)|(^192\.168\.)|(^10\.)|(^172\.1[6-9]\.)|(
|
||||||
MACHINE_TYPE=`uname -m`
|
MACHINE_TYPE=`uname -m`
|
||||||
|
|
||||||
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
|
if [ ${MACHINE_TYPE} == 'x86_64' ]; then
|
||||||
curl -s https://dist.ipfs.io/ipfs-update/v1.5.2/ipfs-update_v1.5.2_linux-amd64.tar.gz -o $MY_PATH/ipfs-update.tar.gz
|
curl -s https://dist.ipfs.io/ipfs-update/v1.6.0/ipfs-update_v1.6.0_linux-amd64.tar.gz -o $MY_PATH/ipfs-update.tar.gz
|
||||||
elif [ ${MACHINE_TYPE:0:3} == 'arm' ]; then
|
elif [ ${MACHINE_TYPE:0:3} == 'arm' ]; then
|
||||||
curl -s https://dist.ipfs.io/ipfs-update/v1.5.2/ipfs-update_v1.5.2_linux-arm.tar.gz -o $MY_PATH/ipfs-update.tar.gz
|
curl -s https://dist.ipfs.io/ipfs-update/v1.6.0/ipfs-update_v1.6.0_linux-arm.tar.gz -o $MY_PATH/ipfs-update.tar.gz
|
||||||
else
|
else
|
||||||
[ ! -f $MY_PATH/ipfs-update.tar.gz ] && err "Your $MACHINE_TYPE is not supported yet... Please add an issue."
|
[ ! -f $MY_PATH/ipfs-update.tar.gz ] && err "Your $MACHINE_TYPE is not supported yet... Please add an issue."
|
||||||
fi
|
fi
|
||||||
|
@ -56,7 +56,7 @@ sudo ./install.sh || err "Install ipfs-update"
|
||||||
cd $MY_PATH
|
cd $MY_PATH
|
||||||
|
|
||||||
echo "INSTALL latest ipfs >>>>>>>>>>>>>>>>>>>>>>>>>>"
|
echo "INSTALL latest ipfs >>>>>>>>>>>>>>>>>>>>>>>>>>"
|
||||||
sudo ipfs-update install 0.5.1 || err "Install IPFS"
|
sudo ipfs-update install 0.7.0 || err "Install IPFS"
|
||||||
|
|
||||||
echo "CREATE SYSTEMD ipfs SERVICE >>>>>>>>>>>>>>>>>>"
|
echo "CREATE SYSTEMD ipfs SERVICE >>>>>>>>>>>>>>>>>>"
|
||||||
cat > /tmp/ipfs.service <<EOF
|
cat > /tmp/ipfs.service <<EOF
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
,fred,ONELOVE,14.09.2020 00:02,file:///home/fred/.config/libreoffice/4;
|
,fred,ONELOVE,04.11.2020 21:21,file:///home/fred/.config/libreoffice/4;
|
Binary file not shown.
Loading…
Reference in New Issue