]> git.proxmox.com Git - pve-xtermjs.git/commit
termproxy: install to usr/libexec directory
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 17 Oct 2023 08:02:17 +0000 (10:02 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 17 Oct 2023 08:49:54 +0000 (10:49 +0200)
commit72c15d118f70a9c22cb90d604ed063c2856fd9c1
tree8390453901078f0b4b2de54c76b88a825ebaa337
parent11c42e4fc73df5f052bba9203545074d45a52890
termproxy: install to usr/libexec directory

this is not a standard CLI tool that should be exposed to all users,
but an internal binary, so  move it to /usr/libexec/proxmox.
That location was chosen over a multiarch path
/usr/lib/<triplet>/proxmox to make resolving the path easier for the
caller, as the standard ways to get the multiarch triplet (e.g.,
"x86_64-linux-gnu") involve CC and are not easily/cheaply available in
perl – we would basically create an architecture specific package that
provides a path resolution with multiarch triplet resolved at "build"
time of that module; as we probably do not ever install termproxy
multiple times targeting different arch's on the same system, this is
just to much complexity.

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
termproxy/Makefile
termproxy/debian/links