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

Re: Environment variables for Debian (e.g. JAVA_HOME, etc)



[Sami Dalouche]
> OK, it looks fine for the administrator's environment variables.
> But look at java JDKs packages created by make-jpkg.
> 
> Does make-kpkg have any decent place for adding environment variables ?
> It looks like it doesn't, and no variable is exported.

Did you read Policy section 9.9, as Daniel Burrows suggested?

  http://www.debian.org/doc/debian-policy/ch-opersys.html#s9.9

I'll summarize: Debian does not need a mechanism for packages to set
system-wide environment variables, because Debian packages are not
allowed to rely on environment variables at all.

Anything that requires users to set environment variables on other
systems should be packaged with a wrapper script or similar mechanism,
in Debian, so that the variables do not need to be set explicitly in
the user's session.

Peter

Attachment: signature.asc
Description: Digital signature


Reply to: