File: force-userscripts-shebang-lines-to-python3.patch

package info (click to toggle)
qutebrowser 1.6.1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 7,980 kB
  • sloc: python: 33,944; sh: 693; makefile: 47; xml: 47
file content (19 lines) | stat: -rw-r--r-- 511 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Description: Enforce python3 shebang line for Python 2+3 compatible userscripts
Author: Axel Beckert <abe@debian.org>

--- a/misc/userscripts/readability
+++ b/misc/userscripts/readability
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Executes python-readability on current page and opens the summary as new tab.
 #
--- a/misc/userscripts/ripbang
+++ b/misc/userscripts/ripbang
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/env python3
 #
 # Adds DuckDuckGo bang as searchengine.
 #