diff options
author | Robin Jarry <robin@jarry.cc> | 2023-01-08 20:44:22 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2023-01-10 21:49:18 +0100 |
commit | 04303172d4f96b284e0c915ce4a7b87e1439bb87 (patch) | |
tree | 4dcadaeb7995ccee0b260f384b063d8144e37c4c /doc/aerc-templates.7.scd | |
parent | 21d8963928162e8a1fe62b39c87b3e4735b05dba (diff) | |
download | aerc-04303172d4f96b284e0c915ce4a7b87e1439bb87.tar.gz |
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 <robin@jarry.cc>
Acked-by: Moritz Poldrack <moritz@poldrack.dev>
Diffstat (limited to 'doc/aerc-templates.7.scd')
-rw-r--r-- | doc/aerc-templates.7.scd | 4 |
1 files changed, 2 insertions, 2 deletions
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}} |