File: 0001-Use-python3-interpreter.patch

package info (click to toggle)
unoconv 0.7-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye
  • size: 516 kB
  • sloc: python: 979; makefile: 147; sh: 8
file content (24 lines) | stat: -rw-r--r-- 683 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
From 47d30eefe3bd31b0610f9f0f531be9ff66d43e12 Mon Sep 17 00:00:00 2001
From: Vincent Bernat <vincent@bernat.im>
Date: Tue, 11 Aug 2015 15:31:15 +0200
Subject: [PATCH] Use python3 interpreter.

LibreOffice UNO binding are now only available with Python 3. Ensure we
use the right interpreter.
---
 unoconv | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/unoconv b/unoconv
index 2e56d3ce4ac2..c17fa00469eb 100755
--- a/unoconv
+++ b/unoconv
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 
 ### 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
-- 
2.5.0