summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRafael Laboissière <rafael@debian.org>2023-09-16 16:40:28 -0300
committerRafael Laboissière <rafael@debian.org>2023-09-16 16:40:28 -0300
commit26a00756f6ca17dc78d2a5174a6e44d95983f9cf (patch)
tree8ed1467d24f46bb210946389f3fa1aa51dc3a4a0
parentbb239c07c2db91b42f3d0564088797d037df771f (diff)
Look for octave-pserver executable in /usr/libexec
Forwarded: not-needed Last-Update: 2023-09-16 This is a Debian-specific patch. Gbp-Pq: Name pserver-path.patch
-rw-r--r--inst/pserver.m7
1 files changed, 7 insertions, 0 deletions
diff --git a/inst/pserver.m b/inst/pserver.m
index f3028c1..f42bd8a 100644
--- a/inst/pserver.m
+++ b/inst/pserver.m
@@ -170,6 +170,13 @@ function fpath = get_server_binary ()
fpath = tp;
+ elseif (__isfile__ (tp = fullfile ("/usr/libexec",
+ fname)))
+
+ ## Debian specific: installed in /usr/libexec
+
+ fpath = tp;
+
elseif (! isempty (tp = search_path (fname)))
## in Octaves search path