Merge pull request #46535 from The-Compiler/patch-1

qutebrowser: Fix patching of standarddir.py
This commit is contained in:
xeji 2018-09-11 23:09:07 +02:00 committed by GitHub
commit 53c5d4f8dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -58,7 +58,7 @@ in python3Packages.buildPythonApplication rec {
];
postPatch = ''
sed -i "s,/usr/share/qutebrowser,$out/share/qutebrowser,g" qutebrowser/utils/standarddir.py
sed -i "s,/usr/share/,$out/share/,g" qutebrowser/utils/standarddir.py
'' + lib.optionalString withPdfReader ''
sed -i "s,/usr/share/pdf.js,${pdfjs},g" qutebrowser/browser/pdfjs.py
'';