summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--misc/qutebrowser.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/misc/qutebrowser.spec b/misc/qutebrowser.spec
index c886fb0c4..ff1b10577 100644
--- a/misc/qutebrowser.spec
+++ b/misc/qutebrowser.spec
@@ -19,10 +19,10 @@ def get_data_files():
('../qutebrowser/config/configdata.yml', 'config'),
]
- # if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
- # data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs'))
- # else:
- # print("Warning: excluding pdfjs as it's not present!")
+ if os.path.exists(os.path.join('qutebrowser', '3rdparty', 'pdfjs')):
+ data_files.append(('../qutebrowser/3rdparty/pdfjs', '3rdparty/pdfjs'))
+ else:
+ print("Warning: excluding pdfjs as it's not present!")
return data_files