From 8a780c67f80dd552de09c78484b313f7c87e937c Mon Sep 17 00:00:00 2001 From: tteckster Date: Thu, 20 Apr 2023 01:58:56 -0400 Subject: [PATCH] Update kavita-install.sh fix unprivileged install --- install/kavita-install.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/install/kavita-install.sh b/install/kavita-install.sh index 3f119a0e..eaf48992 100644 --- a/install/kavita-install.sh +++ b/install/kavita-install.sh @@ -22,9 +22,7 @@ msg_ok "Installed Dependencies" msg_info "Installing Kavita" cd /opt RELEASE=$(curl -s https://api.github.com/repos/Kareadita/Kavita/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }') -wget -q https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.tar.gz -tar -xvzf kavita-linux-x64.tar.gz &>/dev/null -rm kavita-linux-x64.tar.gz +$STD tar -xvzf <(curl -fsSL https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.tar.gz) --no-same-owner msg_ok "Installed Kavita" msg_info "Creating Service"