From: Paul Hänsch Date: Sat, 23 Jan 2021 13:15:20 +0000 (+0100) Subject: environment variables for libreoffice X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=c29793c5ab410ed4e2cc0efcecf628830c017d91;p=lobster environment variables for libreoffice --- diff --git a/courses/export_pdf.sh b/courses/export_pdf.sh index 3985b2c..eaecbde 100755 --- a/courses/export_pdf.sh +++ b/courses/export_pdf.sh @@ -123,5 +123,9 @@ style_td='style="border: 1pt solid; padding: 1mm 2mm; vertical-align: top;"' ]] EOF +export XDG_CONFIG_HOME="$_DATA/xdg_config" +export XDG_CACHE_HOME="$_DATA/xdg_cache" +export XDG_DATA_HOME="$_DATA/xdg_local" + lowriter --convert-to pdf --outdir "$_DATA/export/" "$htmlfile" REDIRECT "/export/${pdffile##*/}"