chiark / gitweb /
Update bundled latex2svg from upstream.
authorVladimír Vondruš <mosra@centrum.cz>
Sun, 5 Nov 2017 17:19:05 +0000 (18:19 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Sun, 5 Nov 2017 17:19:05 +0000 (18:19 +0100)
pelican-plugins/m/latex2svg.py

index 8efe81b666fe7de7ff0259f643ee8843a1bdd979..b8613285e5a112c9582627cd287a6e094152b7af 100755 (executable)
@@ -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')