From 04303172d4f96b284e0c915ce4a7b87e1439bb87 Mon Sep 17 00:00:00 2001 From: Robin Jarry Date: Sun, 8 Jan 2023 20:44:22 +0100 Subject: filters: install them in $PREFIX/libexec/aerc/filters The filesystem hierarchy standard describes /usr/share as "Architecture-independent data". This folder is not intended for executable scripts and especially not for arch specific binary files (such as the wrap filter). Lintian reports an error with aerc 0.14.0: arch-dependent-file-in-usr-share [usr/share/aerc/filters/wrap] Which I had to fix by moving the filter into /usr/libexec. Install all filters into $PREFIX/libexec/aerc/filters and update the default SearchDirs to look them up in here as well. Link: https://refspecs.linuxfoundation.org/FHS_3.0/fhs/ch04s11.html Link: https://salsa.debian.org/go-team/packages/aerc/-/commit/a0ca00260ffd Signed-off-by: Robin Jarry Acked-by: Moritz Poldrack --- doc/aerc-templates.7.scd | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'doc/aerc-templates.7.scd') diff --git a/doc/aerc-templates.7.scd b/doc/aerc-templates.7.scd index 67d5c112..8e616188 100644 --- a/doc/aerc-templates.7.scd +++ b/doc/aerc-templates.7.scd @@ -214,7 +214,7 @@ aerc provides the following additional functions: Execute external command, provide the second argument to its stdin. ``` - {{exec `/usr/local/share/aerc/filters/html` .OriginalText}} + {{exec `/usr/libexec/aerc/filters/html` .OriginalText}} ``` *.Local* @@ -267,7 +267,7 @@ aerc provides the following additional functions: Example: Automatic HTML parsing for text/html mime type messages ``` {{if eq .OriginalMIMEType "text/html"}} - {{exec `/usr/local/share/aerc/filters/html` .OriginalText | wrap 72 | quote}} + {{exec `/usr/libexec/aerc/filters/html` .OriginalText | wrap 72 | quote}} {{else}} {{wrap 72 .OriginalText | quote}} {{end}} -- cgit