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:
Sunil Mohan Adapa 2023-06-06 10:28:38 -07:00 committed by James Valleroy
parent 85bfe40c87
commit b47ea8346b
No known key found for this signature in database
GPG Key ID: 77C0C75E7B650808
2 changed files with 2 additions and 2 deletions

View File

@ -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):

View File

@ -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)