add app-misc/anki-2.1.0_beta37
This commit is contained in:
11
app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
Normal file
11
app-misc/anki/files/anki-2.1.0_beta25-web-folder.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
--- anki-2.1.0beta25/aqt/mediasrv.py
|
||||
+++ anki-2.1.0beta25/aqt/mediasrv.py
|
||||
@@ -13,7 +13,7 @@
|
||||
# locate web folder in source/binary distribution
|
||||
def _getExportFolder():
|
||||
# running from source?
|
||||
- srcFolder = os.path.join(os.path.dirname(__file__), "..")
|
||||
+ srcFolder = os.path.join(os.path.dirname(__file__), "..", "..", "..", "..", "share", "anki")
|
||||
webInSrcFolder = os.path.abspath(os.path.join(srcFolder, "web"))
|
||||
if os.path.exists(webInSrcFolder):
|
||||
return webInSrcFolder
|
||||
Reference in New Issue
Block a user