Update kavita-install.sh
fix unprivileged install
This commit is contained in:
parent
488322bf2a
commit
8a780c67f8
1 changed files with 1 additions and 3 deletions
|
@ -22,9 +22,7 @@ msg_ok "Installed Dependencies"
|
||||||
msg_info "Installing Kavita"
|
msg_info "Installing Kavita"
|
||||||
cd /opt
|
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) }')
|
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
|
$STD tar -xvzf <(curl -fsSL https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.tar.gz) --no-same-owner
|
||||||
tar -xvzf kavita-linux-x64.tar.gz &>/dev/null
|
|
||||||
rm kavita-linux-x64.tar.gz
|
|
||||||
msg_ok "Installed Kavita"
|
msg_ok "Installed Kavita"
|
||||||
|
|
||||||
msg_info "Creating Service"
|
msg_info "Creating Service"
|
||||||
|
|
Loading…
Reference in a new issue