mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-02-11 08:23:49 +00:00
searx: Add libjs-bootstrap to packages
libjs-bootstrap is a transitive dependency of searx package. It is also listed as a package to be installed by Janus app. This is a quick fix to prevent accidental uninstall of searx package, when Janus app is uninstalled. Closes #2298. Tests: - Install Searx. - Install Janus, and then uninstall it. searx package is still installed. Searx diagnostics are passed. Signed-off-by: James Valleroy <jvalleroy@mailbox.org> Reviewed-by: Sunil Mohan Adapa <sunil@medhas.org>
This commit is contained in:
parent
3cf7e7c2c4
commit
9cec959cd1
@ -57,7 +57,9 @@ class SearxApp(app_module.App):
|
||||
allowed_groups=list(groups))
|
||||
self.add(shortcut)
|
||||
|
||||
packages = Packages('packages-searx', ['searx'])
|
||||
# Include libjs-bootstrap to prevent accidental uninstall (see
|
||||
# issue #2298).
|
||||
packages = Packages('packages-searx', ['searx', 'libjs-bootstrap'])
|
||||
self.add(packages)
|
||||
|
||||
firewall = Firewall('firewall-searx', info.name,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user