Fix Transmute Calibre 404, Nametag prisma env, OTBR drop setup_nodejs
- Transmute: replace manual curl with fetch_and_deploy_gh_release prebuild - Nametag: pass DATABASE_URL to prisma generate (config needs it at load time) - OTBR: use apt nodejs/npm instead of setup_nodejs (only needed for cmake web build)
This commit is contained in:
@@ -48,14 +48,8 @@ chmod +x /usr/local/bin/pandoc
|
||||
rm -rf /tmp/pandoc*
|
||||
msg_ok "Installed Pandoc"
|
||||
|
||||
msg_info "Installing Calibre"
|
||||
CALIBRE_VERSION=$(get_latest_github_release "kovidgoyal/calibre")
|
||||
curl -fsSL "https://github.com/kovidgoyal/calibre/releases/download/${CALIBRE_VERSION}/calibre-${CALIBRE_VERSION#v}-x86_64.txz" -o /tmp/calibre.txz
|
||||
mkdir -p /opt/calibre
|
||||
tar -xJf /tmp/calibre.txz -C /opt/calibre
|
||||
fetch_and_deploy_gh_release "calibre" "kovidgoyal/calibre" "prebuild" "latest" "/opt/calibre" "calibre-*-x86_64.txz"
|
||||
ln -sf /opt/calibre/ebook-convert /usr/bin/ebook-convert
|
||||
rm -f /tmp/calibre.txz
|
||||
msg_ok "Installed Calibre"
|
||||
|
||||
fetch_and_deploy_gh_release "transmute" "transmute-app/transmute" "tarball" "latest" "/opt/transmute"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user