File: 10-dfuse-pack-use-python3.patch

package info (click to toggle)
dfu-util 0.11-1
  • links: PTS
  • area: main
  • in suites: bookworm, sid, trixie
  • size: 744 kB
  • sloc: ansic: 3,266; sh: 1,242; python: 235; makefile: 49
file content (19 lines) | stat: -rw-r--r-- 563 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Use python3 for dfuse-pack.py
 Upstream has /usr/bin/python in the shebang since most non-Debian
 systems uses Python 3 as "python". Although the script will work
 with either Python 2 or 3, the shebang must match our dependency
 in debian/control.
Author: Tormod Volden <debian.tormod@gmail.com>

---
Forwarded: not-needed
Last-Update: 2022-01-21

--- dfu-util-0.11.orig/dfuse-pack.py
+++ dfu-util-0.11/dfuse-pack.py
@@ -1,4 +1,4 @@
-#!/usr/bin/python
+#!/usr/bin/python3
 
 # Written by Antonio Galea - 2010/11/18
 # Distributed under Gnu LGPL 3.0