diff options
| author | Kerin Millar <kfm@plushkava.net> | 2025-09-20 02:13:30 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-09-30 21:14:03 +0100 |
| commit | 3fe09cee79878a77ed9fddc417a9d54cd6c7f97d (patch) | |
| tree | 105782315626d9e7cc88587cb9b3ee5168fb508f /app-shells/bash/files/bashrc.d | |
| parent | bc7c139f697defa51a14081898b6faac980905a4 (diff) | |
| download | gentoo-3fe09cee79878a77ed9fddc417a9d54cd6c7f97d.tar.gz gentoo-3fe09cee79878a77ed9fddc417a9d54cd6c7f97d.tar.bz2 gentoo-3fe09cee79878a77ed9fddc417a9d54cd6c7f97d.zip | |
app-shells/bash: drop files/bashrc.d/15-gentoo-bashrc-check.bash
Drop the "15-gentoo-bashrc-check.bash" drop-in, whose retirement was
overdue. Do so by:
- dropping 5.2_p37-r3
- dropping the 5.4 snapshots, except for the latest
- revision-bumping the latest 5.4 snapshot
Signed-off-by: Kerin Millar <kfm@plushkava.net>
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-shells/bash/files/bashrc.d')
| -rw-r--r-- | app-shells/bash/files/bashrc.d/15-gentoo-bashrc-check.bash | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/app-shells/bash/files/bashrc.d/15-gentoo-bashrc-check.bash b/app-shells/bash/files/bashrc.d/15-gentoo-bashrc-check.bash deleted file mode 100644 index 8f2b0405c6b9..000000000000 --- a/app-shells/bash/files/bashrc.d/15-gentoo-bashrc-check.bash +++ /dev/null @@ -1,24 +0,0 @@ -# /etc/bash/bashrc.d/15-gentoo-bashrc-check.bash - -# Some users have ~/.bashrc as a copy of ${FILESDIR}/bashrc which either matches -# exactly or is only trivially modified. Such is an improper state of affairs -# and results in the bashrc.d drop-ins being sourced twice. Warn them that they -# should use the skeleton file instead. This drop-in should be removed no sooner -# than one year from the date of its introduction. - -if [[ -e ${TMPDIR:-/tmp}/.gentoo-bashrc-check-${EUID} || ! -f ~/.bashrc ]]; then - return -fi - -{ - if grep -qxF 'for sh in /etc/bash/bashrc.d/* ; do' -- ~/.bashrc; then - cat >&3 <<'EOF' -WARNING! Your ~/.bashrc file is based on an old copy of /etc/bash/bashrc, which -is not intended for use within a home directory. Please either delete ~/.bashrc -or replace it with a copy of /etc/skel/.bashrc before optionally customizing it -further. Neglecting to do so may result in bash behaving unexpectedly. - -EOF - fi - touch -- "${TMPDIR:-/tmp}/.gentoo-bashrc-check-${EUID}" -} 3>&2 2>/dev/null |
