[elbe-devel] [PATCH 05/10] enforce elbe to run with python2

Manuel Traut manut at linutronix.de
Fri Sep 29 00:11:41 CEST 2017


the debhelper replaces the python2 interpreter in the script by python3

Signed-off-by: Manuel Traut <manut at linutronix.de>
---
 debian/python-elbe-bin.postinst | 5 +++++
 1 file changed, 5 insertions(+)
 create mode 100644 debian/python-elbe-bin.postinst

diff --git a/debian/python-elbe-bin.postinst b/debian/python-elbe-bin.postinst
new file mode 100644
index 00000000..897eeb40
--- /dev/null
+++ b/debian/python-elbe-bin.postinst
@@ -0,0 +1,5 @@
+#!/bin/sh
+set -e
+
+# force usage of python2 for the moment
+sed -i'' -e s#/usr/bin/python3#/usr/bin/python2#g /usr/bin/elbe
-- 
2.14.1




More information about the elbe-devel mailing list