This repository has been archived on 2026-01-16. You can view files and clone it, but you cannot make any changes to its state, such as pushing and creating new issues, pull requests or comments.
anki/anki-2.0.50-use-python2-shebang.patch
Christian Krause 45b991e68c Update to new upstream version 2.0.50 (BZ 1436178, BZ 1529540, BZ 1529541)
Use separate send2trash python module instead of the bundled one (BZ 1173410)
Disable internal CA store in favor of global one (BZ 1497504)
Use correct shebang for python2 (BZ 1478302)
Use %autosetup
2018-04-12 00:45:00 +02:00

18 lines
576 B
Diff

diff -uNr anki-2.0.50.old/anki/anki anki-2.0.50/anki/anki
--- anki-2.0.50.old/anki/anki 2016-05-12 04:40:52.000000000 +0200
+++ anki-2.0.50/anki/anki 2018-04-11 00:59:13.901232410 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
import os, sys
# system-wide install
diff -uNr anki-2.0.50.old/runanki anki-2.0.50/runanki
--- anki-2.0.50.old/runanki 2016-03-21 08:28:07.000000000 +0100
+++ anki-2.0.50/runanki 2018-04-11 00:58:54.213952994 +0200
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!/usr/bin/python2
import sys
sys.path.insert(0, "/usr/share/anki")