From: =?utf-8?q?David_Pr=C3=A9vot?= <david@tilapin.org>
Date: Fri, 15 Nov 2019 13:42:40 -1000
Subject: Adapt path to Debian expectations

Forwarded: not-needed
---
 bin/html-to-markdown | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/bin/html-to-markdown b/bin/html-to-markdown
index 2815a7c..88cfa39 100755
--- a/bin/html-to-markdown
+++ b/bin/html-to-markdown
@@ -1,4 +1,4 @@
-#!/usr/bin/env php
+#!/usr/bin/php
 <?php
 
 requireAutoloader();
@@ -98,6 +98,8 @@ function requireAutoloader()
         __DIR__ . '/../vendor/autoload.php',
         // Package was included as a library
         __DIR__ . '/../../../autoload.php',
+        // Package was installed as a Debian package
+        __DIR__ . '/../share/php/League/HTMLToMarkdown/autoload.php',
     );
     foreach ($autoloadPaths as $path) {
         if (file_exists($path)) {
