[Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)
Rich Pieri
richard.pieri at gmail.com
Wed Jun 21 19:43:31 EDT 2023
On Wed, 21 Jun 2023 19:26:55 -0400
Dan Ritter <dsr at randomstring.org> wrote:
> If you're packaging for a particular distro, you know where they
> put it.
For systems that implement merged /usr you just use /usr/bin/perl. For
systems with optional merged /usr then your post-install scripts will
need to adjust the interpreter line appropriately to match the OS.
#!/usr/bin/env perl is often used but it is not secure, and I advise
against it.
--
\m/ (--) \m/
More information about the Discuss
mailing list