use trixie wkhtmltopdf

This commit is contained in:
CanbiZ (MickLesk)
2026-04-22 06:20:54 +02:00
committed by GitHub
parent 453bc75e8a
commit 950a515938

View File

@@ -16,7 +16,6 @@ update_os
msg_info "Installing Dependencies"
$STD apt install -y \
git \
sudo \
build-essential \
python3-dev \
libffi-dev \
@@ -31,12 +30,12 @@ $STD apt install -y \
fontconfig \
libjpeg-dev \
libmariadb-dev \
python3-pip
python3-pip \
wkhtmltopdf
msg_ok "Installed Dependencies"
NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs
UV_PYTHON="3.13" setup_uv
setup_mariadb
msg_info "Configuring MariaDB for ERPNext"
@@ -51,13 +50,6 @@ EOF
$STD systemctl restart mariadb
msg_ok "Configured MariaDB for ERPNext"
msg_info "Installing wkhtmltopdf"
WKHTMLTOPDF_URL="https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6.1-3/wkhtmltox_0.12.6.1-3.bookworm_amd64.deb"
$STD curl -fsSL -o /tmp/wkhtmltox.deb "$WKHTMLTOPDF_URL"
$STD apt install -y /tmp/wkhtmltox.deb
rm -f /tmp/wkhtmltox.deb
msg_ok "Installed wkhtmltopdf"
msg_info "Installing Frappe Bench"
useradd -m -s /bin/bash frappe
chown frappe:frappe /opt