mirror of
https://github.com/community-scripts/ProxmoxVE
synced 2025-02-10 17:59:17 +00:00
fixes
This commit is contained in:
parent
8ffb892062
commit
db3677447f
@ -6,7 +6,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
|
||||
# Source: https://github.com/Suwayomi/Suwayomi-Server
|
||||
|
||||
APP="Suwayomi-Server"
|
||||
TAGS="media; manga"
|
||||
TAGS="media;manga"
|
||||
var_cpu="1"
|
||||
var_ram="1024"
|
||||
var_disk="4"
|
||||
@ -37,9 +37,10 @@ function update_script() {
|
||||
systemctl stop suwayomi-server
|
||||
msg_ok "Stopped $APP"
|
||||
msg_info "Updating $APP to v${RELEASE}"
|
||||
cd /tmp
|
||||
URL=$(curl -s https://api.github.com/repos/Suwayomi/Suwayomi-Server/releases/latest | grep "browser_download_url" | awk '{print substr($2, 2, length($2)-2) }' | tail -n+2 | head -n 1)
|
||||
wget -q $URL
|
||||
$STD dpkg -i *.deb
|
||||
$STD dpkg -i /tmp/*.deb
|
||||
msg_ok "Updated $APP to v${RELEASE}"
|
||||
msg_info "Starting $APP"
|
||||
systemctl start suwayomi-server
|
||||
|
@ -21,6 +21,7 @@ $STD apt-get install -y \
|
||||
openjdk-17-jre \
|
||||
libc++-dev
|
||||
msg_ok "Installed Dependencies"
|
||||
|
||||
msg_info "Settting up Suwayomi-Server"
|
||||
URL=$(curl -s https://api.github.com/repos/Suwayomi/Suwayomi-Server/releases/latest | grep "browser_download_url" | awk '{print substr($2, 2, length($2)-2) }' | tail -n+2 | head -n 1)
|
||||
RELEASE=$(curl -s https://api.github.com/repos/Suwayomi/Suwayomi-Server/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
|
Loading…
Reference in New Issue
Block a user