mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-09 10:08:51 +02:00
use trixie wkhtmltopdf
This commit is contained in:
committed by
GitHub
parent
453bc75e8a
commit
950a515938
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user