summarylogtreecommitdiffstats
path: root/python2.patch
diff options
context:
space:
mode:
authorMuflone2017-11-01 22:10:14 +0100
committerMuflone2017-11-01 22:10:14 +0100
commit0ab91e9de08386190bd4ac1dd5a85e94c6bc3a4e (patch)
tree0892b7bb8a5cf420147dd7702797d3e40d49e947 /python2.patch
parent31c813fd5dad22dc82f53cbe91ee2b188c486732 (diff)
downloadaur-0ab91e9de08386190bd4ac1dd5a85e94c6bc3a4e.tar.gz
Updated package html2pdf 1.0-2
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 00000000000..5ab4f1df4ab
--- /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