Re: Canonical way for a package to set an environment variable

2025-01-16 Thread Soren Stoutner
Santiago, On Thursday, January 16, 2025 1:50:15 PM MST Santiago Vila wrote: > El 16/1/25 a las 21:01, Soren Stoutner escribió: > > Is there a canonical way for a package to set an environment variable? > > You should try to find another way, because Debian Policy 9.9 says thi

Re: Canonical way for a package to set an environment variable

2025-01-16 Thread Santiago Vila
El 16/1/25 a las 21:01, Soren Stoutner escribió: Is there a canonical way for a package to set an environment variable? You should try to find another way, because Debian Policy 9.9 says this: Programs installed on the system PATH (/bin, /usr/bin, /sbin, /usr/sbin, or similar directories

Canonical way for a package to set an environment variable

2025-01-16 Thread Soren Stoutner
Is there a canonical way for a package to set an environment variable? Background: Systemd parses files in /etc/environment.d/ Sysvinit parses the single file /etc/environment Finit parses file in /etc/finit.d/ Why can’t we all just get along? It is easy for a