summarylogtreecommitdiffstats
path: root/python2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'python2.patch')
-rw-r--r--python2.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/python2.patch b/python2.patch
new file mode 100644
index 000000000000..5ab4f1df4ab3
--- /dev/null
+++ b/python2.patch
@@ -0,0 +1,19 @@
+diff -Naur usr.orig/bin/html2pdf usr/bin/html2pdf
+--- usr.orig/bin/html2pdf 2010-01-19 18:20:10.000000000 +0100
++++ usr/bin/html2pdf 2017-11-01 21:57:47.168081047 +0100
+@@ -1,4 +1,3 @@
+-#! /bin/bash
+-echo " "
++#!/bin/bash
+ cd /usr/share/html2pdf/
+-python /usr/share/html2pdf/html2pdf.py
++python2 html2pdf.py
+diff -Naur usr.orig/share/html2pdf/html2pdf.py usr/share/html2pdf/html2pdf.py
+--- usr.orig/share/html2pdf/html2pdf.py 2010-01-19 18:26:38.000000000 +0100
++++ usr/share/html2pdf/html2pdf.py 2017-11-01 22:00:38.850860399 +0100
+@@ -1,4 +1,4 @@
+-#! /usr/bin/env python
++#!/usr/bin/env python2
+ # -*- coding: utf-8 -*-
+ # This program is free software; you can redistribute it and/or modify
+ # it under the terms of the GNU General Public License as published by