[mod] "npm run webfont" require fontforge & ttfautohint packages

See commit dca3bcca9::

     [mod] simple theme: include fonts

     "npm run webfont" to build the fonts directory.
     It requires fontforge and ttfautohint distro packages

     partial revert of commit 7137d28

I don't know why, but the same commit dca3bcca9 removes the fontforge &
ttfautohint packages which has been added in 7137d28.  I assume it was an
mistake of the *partial revert of commit 7137d28*.

Related-to:  https://github.com/searxng/searxng/pull/157#discussion_r654836723

Signed-off-by: Markus Heiser <markus.heiser@darmarit.de>
This commit is contained in:
Markus Heiser 2021-08-02 17:10:58 +02:00
parent 34ffd08187
commit e09fd4327b
3 changed files with 16 additions and 9 deletions

2
manage
View file

@ -334,7 +334,7 @@ gecko.driver() {
}
node.env() {
if ! required_commands npm; then
if ! required_commands npm fontforge ttfautohint; then
info_msg "to install build tools use::"
info_msg " sudo -H ./utils/searx.sh install buildhost"
die 1 "install needed build tools first"