Update kavita-install.sh

This commit is contained in:
tteckster 2023-04-20 01:07:17 -04:00 committed by GitHub
parent 9aade4f6a7
commit 92f58314ff
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -23,7 +23,7 @@ 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 wget -q https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.tar.gz
$STD tar -xvf kavita-linux-x64.tar.gz $STD tar -xvzf kavita-linux-x64.tar.gz
rm kavita-linux-x64.tar.gz rm kavita-linux-x64.tar.gz
msg_ok "Installed Kavita" msg_ok "Installed Kavita"