From a9914128f32e81c30b290fd9986ac6925d3dccd3 Mon Sep 17 00:00:00 2001 From: James Valleroy Date: Wed, 6 Jan 2021 19:21:36 -0500 Subject: [PATCH] upgrades: Use full path to searx action script Signed-off-by: James Valleroy Reviewed-by: Sunil Mohan Adapa --- actions/upgrades | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/actions/upgrades b/actions/upgrades index ca8e81303..929221bdf 100755 --- a/actions/upgrades +++ b/actions/upgrades @@ -431,7 +431,8 @@ def _perform_dist_upgrade(): # If searx is installed, update search engines list. if pathlib.Path('/etc/searx/settings.yml').exists(): print('Updating searx search engines list...', flush=True) - subprocess.run(['./searx', 'setup'], check=True) + subprocess.run(['/usr/share/plinth/actions/searx', 'setup'], + check=True) print('Running apt autoremove...', flush=True) run_apt_command(['autoremove'])