From e94d7716446b9ff596f86cc66fcaebc3b8bb571b Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sun, 5 Nov 2017 18:19:05 +0100 Subject: [PATCH] Update bundled latex2svg from upstream. --- pelican-plugins/m/latex2svg.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pelican-plugins/m/latex2svg.py b/pelican-plugins/m/latex2svg.py index 8efe81b6..b8613285 100755 --- a/pelican-plugins/m/latex2svg.py +++ b/pelican-plugins/m/latex2svg.py @@ -49,14 +49,12 @@ default_params = { } -if not hasattr(os.environ, 'LIBGS') and not find_library('libgs'): +if not hasattr(os.environ, 'LIBGS') and not find_library('gs'): if sys.platform == 'darwin': # Fallback to homebrew Ghostscript on macOS homebrew_libgs = '/usr/local/opt/ghostscript/lib/libgs.dylib' if os.path.exists(homebrew_libgs): default_params['libgs'] = homebrew_libgs - if sys.platform == 'linux': - default_params['libgs'] = find_library('gs') if not default_params['libgs']: print('Warning: libgs not found') -- 2.30.2