dosym bash /bin/rbash
insinto /etc/bash
doins "${FILESDIR}"/{bashrc,bash_logout}
doins "${FILESDIR}"/bash_logout
newins "${FILESDIR}"/bashrc-r1 bashrc
keepdir /etc/bash/bashrc.d
insinto /etc/skel
for f in bash{_logout,_profile,rc} ; do
newins "${FILESDIR}"/dot-${f} .${f}
fi
for sh in /etc/bash/bashrc.d/* ; do
[[ -r ${sh} ]] && source "${sh}"
done
# Try to keep environment pollution down, EPA loves us.
unset use_color safe_term match_lhs
unset use_color safe_term match_lhs sh
-