diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-05-19 04:38:56 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-05-19 04:38:56 +0000 |
commit | 4090c37bc874c26b9d90d9599e7515779add3520 (patch) | |
tree | d63dc2463dfb5894d45b58b7d5a53ffdeba59d3a /app-shells | |
parent | Fix gammu dependency atoms (#178864). (diff) | |
download | historical-4090c37bc874c26b9d90d9599e7515779add3520.tar.gz historical-4090c37bc874c26b9d90d9599e7515779add3520.tar.bz2 historical-4090c37bc874c26b9d90d9599e7515779add3520.zip |
enable `type -P dircolors` check for everyone so if the binary is missing (say /usr is not mounted yet), then errors wont be displayed
Package-Manager: portage-2.1.2.7
Diffstat (limited to 'app-shells')
-rw-r--r-- | app-shells/bash/Manifest | 18 | ||||
-rw-r--r-- | app-shells/bash/files/bashrc | 6 |
2 files changed, 17 insertions, 7 deletions
diff --git a/app-shells/bash/Manifest b/app-shells/bash/Manifest index 010274054c43..9f94619ff851 100644 --- a/app-shells/bash/Manifest +++ b/app-shells/bash/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX bash-2.05b-empty-herestring.patch 836 RMD160 bdeef415bb8ef5294bfdb47a00beb3523f5e33c5 SHA1 fc34260611e395caee16930e66ec13e7aae63796 SHA256 a05098a9bb85520efc5c6d108fdcf635e4a9b20369d42d9aa0803c6b1d145cae MD5 edf95b873162f4548435c379e4998b4e files/bash-2.05b-empty-herestring.patch 836 RMD160 bdeef415bb8ef5294bfdb47a00beb3523f5e33c5 files/bash-2.05b-empty-herestring.patch 836 @@ -194,10 +197,10 @@ AUX bash_logout 205 RMD160 fa6064b67bd02cf66dc490759442a0127770d420 SHA1 a698366 MD5 229ccc2980a94877f2e87f957e9da7bf files/bash_logout 205 RMD160 fa6064b67bd02cf66dc490759442a0127770d420 files/bash_logout 205 SHA256 15aaded954389c05d7de5d36c4887db61975ad52c87ad78baf1062ec8997289d files/bash_logout 205 -AUX bashrc 2807 RMD160 7960859b95ab927e25b0d21043562c47b0b4f21f SHA1 b80934e36d5bb911611858feff95bdb105fe64ca SHA256 c31738ab7b83648d1de7374175b414c8cd75a40668d4b80139952546f1acdbe9 -MD5 493f39c0a8086b0094f0caa0d82df62d files/bashrc 2807 -RMD160 7960859b95ab927e25b0d21043562c47b0b4f21f files/bashrc 2807 -SHA256 c31738ab7b83648d1de7374175b414c8cd75a40668d4b80139952546f1acdbe9 files/bashrc 2807 +AUX bashrc 2788 RMD160 95427501fee1440bb891d11caa993bcf334184e9 SHA1 27a7a3ae4b1312584d72c5a844f4de8499c607dc SHA256 86e27d10c28fc4cb125b5f1d87082099fab9764569b0507d7c1822c6cbf6f09b +MD5 46b78ac2dfe5e42442c0a2f016ac6326 files/bashrc 2788 +RMD160 95427501fee1440bb891d11caa993bcf334184e9 files/bashrc 2788 +SHA256 86e27d10c28fc4cb125b5f1d87082099fab9764569b0507d7c1822c6cbf6f09b files/bashrc 2788 AUX dot-bash_logout 127 RMD160 6092e24ba79924d0dd566657f97972237f8f5b68 SHA1 9e1e6e03b033fdfcf9f2098324bac5754c26ec69 SHA256 3bcb4958dad662fc2cbe77177236679f7a09b8bdb0be738102df4457394f4022 MD5 7d8a8ef90c1818a0cd66808ac2740638 files/dot-bash_logout 127 RMD160 6092e24ba79924d0dd566657f97972237f8f5b68 files/dot-bash_logout 127 @@ -344,3 +347,10 @@ SHA256 4bc3315d324207117e5250369dc0741887543864b702f5806f3dde9f5a388345 files/di MD5 ef1b3c02b997284cb562ba9e3eebf17c files/digest-bash-3.2_p9-r1 2074 RMD160 3232387aa160a9ea2ee764e929fa58618674d590 files/digest-bash-3.2_p9-r1 2074 SHA256 1fe387fc344fd77f445608d6e5d99d8547c8c2f0aba4150c6b54720ff7a0b7df files/digest-bash-3.2_p9-r1 2074 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.4 (GNU/Linux) + +iD8DBQFGTn918bi6rjpTunYRAhXuAKCDhuuHoM9+HHUZmQNRgLyIcFpURwCfb9x7 +Z8q6BbERSATp9vxXSRQA/a4= +=VKox +-----END PGP SIGNATURE----- diff --git a/app-shells/bash/files/bashrc b/app-shells/bash/files/bashrc index 0447fb404c1c..d80f2947b2ea 100644 --- a/app-shells/bash/files/bashrc +++ b/app-shells/bash/files/bashrc @@ -50,19 +50,19 @@ match_lhs="" [[ -f ~/.dir_colors ]] && match_lhs="${match_lhs}$(<~/.dir_colors)" [[ -f /etc/DIR_COLORS ]] && match_lhs="${match_lhs}$(</etc/DIR_COLORS)" [[ -z ${match_lhs} ]] \ - && type -p dircolors >/dev/null #BSD#@ \ + && type -P dircolors >/dev/null \ && match_lhs=$(dircolors --print-database) [[ $'\n'${match_lhs} == *$'\n'"TERM "${safe_term}* ]] && use_color=true if ${use_color} ; then # Enable colors for ls, etc. Prefer ~/.dir_colors #64489 - if type -p dircolors >/dev/null ; then#BSD#@ + if type -P dircolors >/dev/null ; then if [[ -f ~/.dir_colors ]] ; then eval $(dircolors -b ~/.dir_colors) elif [[ -f /etc/DIR_COLORS ]] ; then eval $(dircolors -b /etc/DIR_COLORS) fi - fi#BSD#@ + fi if [[ ${EUID} == 0 ]] ; then PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' |