From 68fb4e100d46c3ddea1c4bff95428307852448c4 Mon Sep 17 00:00:00 2001 From: Sam Heinz <54530346+asylumexp@users.noreply.github.com> Date: Thu, 25 Apr 2024 11:31:36 +1000 Subject: [PATCH] Port Calibre-Web to ARM64 --- ct/calibre-web.sh | 8 ++++---- install/calibre-web-install.sh | 2 ++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/ct/calibre-web.sh b/ct/calibre-web.sh index 697525011..9ba94ca07 100644 --- a/ct/calibre-web.sh +++ b/ct/calibre-web.sh @@ -1,5 +1,5 @@ #!/usr/bin/env bash -source <(curl -s https://raw.githubusercontent.com/tteck/Proxmox/main/misc/build.func) +source <(curl -s https://raw.githubusercontent.com/asylumexp/Proxmox/main/misc/build.func) # Copyright (c) 2021-2024 tteck # Author: tteck (tteckster) # Co-Author: remz1337 @@ -62,9 +62,9 @@ function update_script() { msg_info "Updating $APP LXC" systemctl stop cps cd /opt/kepubify - rm kepubify-linux-64bit - curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-64bit &>/dev/null - chmod +x kepubify-linux-64bit + rm kepubify-linux-arm64 + curl -fsSLO https://github.com/pgaskin/kepubify/releases/latest/download/kepubify-linux-arm64 &>/dev/null + chmod +x kepubify-linux-arm64 rm /opt/calibre-web/metadata.db wget https://github.com/janeczku/calibre-web/raw/master/library/metadata.db -P /opt/calibre-web menu_array=("1" "Enables gdrive as storage backend for your ebooks" OFF \ diff --git a/install/calibre-web-install.sh b/install/calibre-web-install.sh index 834c989f1..b9b150de1 100644 --- a/install/calibre-web-install.sh +++ b/install/calibre-web-install.sh @@ -19,10 +19,12 @@ $STD apt-get install -y curl $STD apt-get install -y sudo $STD apt-get install -y mc $STD apt-get install -y imagemagick +$STD apt-get install -y wget msg_ok "Installed Dependencies" msg_info "Installing Python Dependencies" $STD apt-get -y install python3-pip +rm -rf /usr/lib/python3.*/EXTERNALLY-MANAGED msg_ok "Installed Python Dependencies" msg_info "Installing Kepubify"