Files
einvoice/scripts/arch_install.sh

13 lines
403 B
Bash

#!/usr/bin/env bash
set -euo pipefail
echo "[1/3] Installing Java (needed for Mustang combine/validate)"
sudo pacman -S --needed jre-openjdk-headless
echo "[2/3] Installing libs for WeasyPrint (PDF rendering)"
sudo pacman -S --needed cairo pango gdk-pixbuf2 libffi
echo "[3/3] Optional fallback: wkhtmltopdf"
echo "Run if you want fallback PDF renderer:"
echo " sudo pacman -S --needed wkhtmltopdf"