-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi
Artem Chuprina wrote: > Неужели набирать каждый раз 1001 ключик удобнее? Я, честно говоря, > знаю только одну софтину, у которой есть такой скрипт. И она > оффтопик, поскольку под линуксом работает разве что с помощью wine. Debian Policy Manual Chapter 9 - The Operating System 9.9 Environment variables A program must not depend on environment variables to get reasonable defaults. (That's because these environment variables would have to be set in a system-wide configuration file like /etc/profile, which is not supported by all shells.) If a program usually depends on environment variables for its configuration, the program should be changed to fall back to a reasonable default configuration if these environment variables are not present. If this cannot be done easily (e.g., if the source code of a non-free program is not available), the program must be replaced by a small "wrapper" shell script which sets the environment variables if they are not already defined, and calls the original program. Here is an example of a wrapper script for this purpose: #!/bin/sh BAR=${BAR:-/var/lib/fubar} export BAR exec /usr/lib/foo/foo "$@" Furthermore, as /etc/profile is a configuration file of the base-files package, other packages must not put any environment variables or other commands into that file. http://www.debian.org/doc/debian-policy/ch-opersys.html - -- Best regards, Sergey Spiridonov -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFGdqNGJ3NEeIx4r3YRAnoNAJ9kxKUannSrAc22dW4eCUqkQO4oDACcCQab z33/waKhJ6AmxWkQauHrRUU= =AkF4 -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]