BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Program path maintenance and security (was Re: Debian 12 vs. WSL 1)



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/