Transmute: move setup_gs before apt deps to avoid double install

libreoffice-common and inkscape pull in ghostscript 10.05 via apt.
Moving setup_gs (10.07) before apt deps prevents the downgrade+upgrade cycle.
This commit is contained in:
CanbiZ (MickLesk)
2026-03-30 11:46:11 +02:00
parent 1a519ad63b
commit 90a4304fa4

View File

@@ -13,6 +13,11 @@ setting_up_container
network_check
update_os
UV_PYTHON="3.13" setup_uv
NODE_VERSION="22" setup_nodejs
setup_ffmpeg
setup_gs
msg_info "Installing Dependencies"
$STD apt install -y \
inkscape \
@@ -34,11 +39,6 @@ $STD apt install -y \
python3-cssselect
msg_ok "Installed Dependencies"
UV_PYTHON="3.13" setup_uv
NODE_VERSION="20" setup_nodejs
setup_ffmpeg
setup_gs
msg_info "Installing Pandoc"
PANDOC_VERSION=$(get_latest_github_release "jgm/pandoc")
curl -fsSL "https://github.com/jgm/pandoc/releases/download/${PANDOC_VERSION}/pandoc-${PANDOC_VERSION#v}-linux-amd64.tar.gz" -o /tmp/pandoc.tar.gz