mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-05-27 10:44:33 +00:00
searx: Fix typo in method name
Tests: - Uninstall of searx works. Signed-off-by: Sunil Mohan Adapa <sunil@medhas.org> Reviewed-by: James Valleroy <jvalleroy@mailbox.org>
This commit is contained in:
parent
85bfe40c87
commit
b47ea8346b
@ -108,7 +108,7 @@ class SearxApp(app_module.App):
|
|||||||
def uninstall(self):
|
def uninstall(self):
|
||||||
"""De-configure and uninstall the app."""
|
"""De-configure and uninstall the app."""
|
||||||
super().uninstall()
|
super().uninstall()
|
||||||
privileged.unininstall()
|
privileged.uninstall()
|
||||||
|
|
||||||
|
|
||||||
class SearxWebserverAuth(Webserver):
|
class SearxWebserverAuth(Webserver):
|
||||||
|
|||||||
@ -156,7 +156,7 @@ def disable_public_access():
|
|||||||
|
|
||||||
|
|
||||||
@privileged
|
@privileged
|
||||||
def unininstall():
|
def uninstall():
|
||||||
"""Remove configuration uWSGI file."""
|
"""Remove configuration uWSGI file."""
|
||||||
shutil.rmtree('/etc/searx', ignore_errors=True)
|
shutil.rmtree('/etc/searx', ignore_errors=True)
|
||||||
pathlib.Path(UWSGI_FILE).unlink(missing_ok=True)
|
pathlib.Path(UWSGI_FILE).unlink(missing_ok=True)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user