Package: finalcif / 137+dfsg-4

system-bootstrap.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Use system-provided bootstrap, as the embedded file is excluded.
Author: Andrius Merkys <merkys@debian.org>
Forwarded: not-needed
--- a/finalcif/report/templated_report.py
+++ b/finalcif/report/templated_report.py
@@ -844,7 +844,7 @@
                    'hydrogen_bonds'         : self.text_formatter.get_hydrogen_bonds(),
                    'hydrogen_symminfo'      : self.text_formatter.get_hydrogen_symminfo(),
                    'literature'             : self.text_formatter.literature,
-                   'bootstrap_css'          : Path('finalcif/template/bootstrap/bootstrap.min.css').read_text(
+                   'bootstrap_css'          : Path('/usr/share/javascript/bootstrap5/css/bootstrap.min.css').read_text(
                        encoding='utf-8'),
                    }
         return context