From cb5963973700f9bf90a67275afb2cb7823bd7946 Mon Sep 17 00:00:00 2001 From: ulmentflam Date: Wed, 26 Jun 2024 13:32:10 -0400 Subject: [PATCH] No need to relink on update, just restart --- ct/ipfs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/ipfs.sh b/ct/ipfs.sh index 6063309b..7a1270f2 100644 --- a/ct/ipfs.sh +++ b/ct/ipfs.sh @@ -60,8 +60,8 @@ apt-get update &>/dev/null apt-get -y upgrade &>/dev/null wget -q "$(curl -s "https://api.github.com/repos/ipfs/kubo/releases/latest" | grep "linux-amd64.tar.gz" | grep "browser_download_url" | head -n 1 | cut -d\" -f4)" tar -xzf kubo*linux-amd64.tar.gz -C /usr/local -$STD ln -s /usr/local/kubo/ipfs /usr/local/bin/ipfs rm -rf kubo*linux-amd64.tar.gz +systemctl restart ipfs.service msg_ok "Updated $APP LXC" exit }