From 4a82495225a894fd281c63b1bb002a948d67092c Mon Sep 17 00:00:00 2001 From: Phantop Date: Sun, 17 Dec 2023 14:32:21 -0500 Subject: [PATCH] mkcalibre: get architecture better --- apps/mkcalibre | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/mkcalibre b/apps/mkcalibre index 259a7f0..1eed9da 100755 --- a/apps/mkcalibre +++ b/apps/mkcalibre @@ -3,8 +3,8 @@ part0 base=https://download.calibre-ebook.com LINK="$(curl "$base" | tail -n 1 | cut -d\" -f2)" -LINK="$(curl "$base/$LINK" | tail -n 1 | cut -d\" -f4)" -LINK="$base/$LINK$(curl "$base/$LINK" | tail -n 1 | cut -d\" -f18)" +LINK="$(curl "$base/$LINK" | tail -n 1 | cut -d\" -f4 | tr -d /)" +LINK="$base/$LINK/calibre-$LINK-$(uname -m).txz" unxz appa part9