Package: bash Version: 3.1dfsg-8 Severity: normal
I want to add ${HOME}/bin to my PATH for non-interactive shells as well as interactive ones. I tried to do this by adding: ENV=/etc/home_path BASH_ENV=/etc/home_path to /etc/environment and creating /etc/home_path: #!/bin/sh if [ -d "${HOME}/bin" ] && echo $PATH | grep -qv "${HOME}/bin" ; then export PATH="${PATH}:${HOME}/bin" fi The (BASH_)ENV variables are being set, and /etc/home_path is readable and executable by everyone, but bash never runs it (confirmed by adding extra diagnostics as well as setting PATH). -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.20.7 Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages bash depends on: ii base-files 4.0 Debian base system miscellaneous f ii debianutils 2.18 Miscellaneous utilities specific t ii libc6 2.5-3 GNU C Library: Shared libraries ii libncurses5 5.5-5 Shared libraries for terminal hand bash recommends no packages. -- no debconf information -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]