rename archboot-bash to custom-bash

This commit is contained in:
Tobias Powalowski 2023-01-30 08:11:47 +01:00
parent 9a0f7f0de6
commit a54270f558

View file

@ -234,10 +234,10 @@ _auto_bash(){
_dialog --infobox "Enable custom bash prompt on installed system..." 3 70
! grep -qw 'custom-bash-prompt.sh' "${_DESTDIR}/etc/bash.bashrc" &&\
echo ". /etc/profile.d/custom-bash-prompt.sh" >> "${_DESTDIR}/etc/bash.bashrc"
cp /etc/profile.d/archboot-bash-prompt.sh "${_DESTDIR}"/etc/profile.d/
cp /etc/profile.d/custom-bash-prompt.sh "${_DESTDIR}"/etc/profile.d/
sleep 2
fi
if [[ ! -f ${_DESTDIR}/etc/profile.d/archboot-bash-aliases.sh ]]; then
if [[ ! -f ${_DESTDIR}/etc/profile.d/custom-bash-aliases.sh ]]; then
_dialog --infobox "Enable custom bash aliases on installed system..." 3 70
cp /etc/profile.d/custom-bash-aliases.sh "${_DESTDIR}"/etc/profile.d/
sleep 2