mirror of
https://github.com/freedombox/FreedomBox.git
synced 2026-01-21 07:55:00 +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):
|
||||
"""De-configure and uninstall the app."""
|
||||
super().uninstall()
|
||||
privileged.unininstall()
|
||||
privileged.uninstall()
|
||||
|
||||
|
||||
class SearxWebserverAuth(Webserver):
|
||||
|
||||
@ -156,7 +156,7 @@ def disable_public_access():
|
||||
|
||||
|
||||
@privileged
|
||||
def unininstall():
|
||||
def uninstall():
|
||||
"""Remove configuration uWSGI file."""
|
||||
shutil.rmtree('/etc/searx', ignore_errors=True)
|
||||
pathlib.Path(UWSGI_FILE).unlink(missing_ok=True)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user